From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MHX/FGw94mOdAAEAbAwnHQ (envelope-from ) for ; Tue, 07 Feb 2023 13:00:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SGQcFGw94mNwUAEAG6o9tA (envelope-from ) for ; Tue, 07 Feb 2023 13:00:44 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2124B2CF2A for ; Tue, 7 Feb 2023 13:00:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPMdo-0001D8-V7; Tue, 07 Feb 2023 07:00:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPMdn-0001C9-BO for guix-patches@gnu.org; Tue, 07 Feb 2023 07:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pPMdn-0001L5-22 for guix-patches@gnu.org; Tue, 07 Feb 2023 07:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pPMdm-0003B4-Qh for guix-patches@gnu.org; Tue, 07 Feb 2023 07:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61094] [PATCH] doc: Document 'shebang' for 'guix shell'. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Feb 2023 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , 61094@debbugs.gnu.org Received: via spool by 61094-submit@debbugs.gnu.org id=B61094.167577114312100 (code B ref 61094); Tue, 07 Feb 2023 12:00:02 +0000 Received: (at 61094) by debbugs.gnu.org; 7 Feb 2023 11:59:03 +0000 Received: from localhost ([127.0.0.1]:51388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPMcp-000390-3G for submit@debbugs.gnu.org; Tue, 07 Feb 2023 06:59:03 -0500 Received: from mail-wm1-f41.google.com ([209.85.128.41]:34463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPMcn-00038J-Jl for 61094@debbugs.gnu.org; Tue, 07 Feb 2023 06:59:01 -0500 Received: by mail-wm1-f41.google.com with SMTP id f23-20020a05600c491700b003dff4480a17so757177wmp.1 for <61094@debbugs.gnu.org>; Tue, 07 Feb 2023 03:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Er6Iy+p5ARJwgcVU1iJ7XUBhMIoC1YMGDf5+O3rDddo=; b=GMCcVIIT5F3CkKs5fkyOJRYOFa38eRjZnFZHjUoN8kmCPeY9NGFbdSopyAqcIPmvFl F53ep8kqs0i9RSFBnbjpSO24rKyovqfpzLzoKMtJfnb7AUqZM8FIvcWhWNXXxHn60LXI tETzM4g+/gKOIZZjPbEnEi4DajYOLjQjijgYqFI57U42VsDWdbOC4Im/G4f2iiO0GrDK 8OUWjgqK8+GYqJO+amYIY1I998WFtnRS3QM/HjdkQobM0IgjFwADiKjG99AopK0xdizm 1JjukefOq9GsbjZOadNLBK/6foJQwEmx5ISmjTFclYTNC3yRn0xjMwSifO563MHKuzL7 P77g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Er6Iy+p5ARJwgcVU1iJ7XUBhMIoC1YMGDf5+O3rDddo=; b=ViHEVGNbPLMQjt27UPjIlTHYMPEDloXVkEDor1ZKJQqBmvQY7PR+Ghb9J8Z6SB7b52 57ZF8oYiIWXh3KUjKjSZ9j8NxQ5PHW70f9cTHYKq5vYiBJmAO5wIQ4nFuiKGTxXG0a12 IWVyda8ywqDQmRgmcdNCh15r6boSdK19TM713QS30GRBggfk+M52DhbsBVWy2E8SeZkQ BXatPJ166mYfU7L/9HBng9qwHSVconJzg5G7T06LFswZ4JREV+j0CuvZZrmC0AljvGfZ +O/6lntAL2T4N3V3FK6/Mr1iDpS8zaZnRmMOOZmi36g2vpLAl/Sbi6cwU+vjKVafP0eW eqHA== X-Gm-Message-State: AO0yUKV5R0zU0yOoV2J1oqQauhpnDXAsqq6kV9bdnhCXSX72gd3CypRl z+oCtI4GIajBzjgBXm5L2S8fOyn6eusHYg== X-Google-Smtp-Source: AK7set8JrBuGb+IKuC5Veh9Hk02OvBGS9IqIIz0NJAohSltqa4exppTqrpq8JCx+8uhdOYN4h9WtiQ== X-Received: by 2002:a05:600c:3106:b0:3dd:1cd3:5d75 with SMTP id g6-20020a05600c310600b003dd1cd35d75mr3574857wmo.0.1675771135889; Tue, 07 Feb 2023 03:58:55 -0800 (PST) Received: from lili ([81.255.72.129]) by smtp.gmail.com with ESMTPSA id bi5-20020a05600c3d8500b003db012d49b7sm2102914wmb.2.2023.02.07.03.58.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 03:58:55 -0800 (PST) From: zimoun In-Reply-To: <8e79fe217c633650394f2c5199e94e5d0c5a7911.camel@gmail.com> References: <20230127111237.2910126-1-zimon.toutoune@gmail.com> <8e79fe217c633650394f2c5199e94e5d0c5a7911.camel@gmail.com> Date: Tue, 07 Feb 2023 12:48:54 +0100 Message-ID: <86v8kdn1ax.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GMCcVIIT; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675771244; a=rsa-sha256; cv=none; b=gt9CVBxGayViSEbvZsAR6ArYLGorQp7gps1Jb2ov46s3+6itE8XCC9TUqvkm2nl+n3IM1L B3L82ngjtC7Lg9nUtPO5Tj2MNRmL9itYy9hAeO+ik6WpBoMkwgIZOtNN9gehU7pShD2qge jU04r3hOv1mXRDJmXI58JIuzIrQ7CnUAcUL6NdUMTPIKTprlgghMzDMgGsVdSheg5qg5Uw nILsIrVB3xpMrtoYu8IbfbYjwNg6wy/0C8/7fILLNBBvOBdTiVp5rgKlwaMK6/bHxIZ6e1 uFlH0DjCXv94d8yF8UOukHdggKf0hoeqKSFwvt4oSB21lo0/gVQSg7kFoVwWCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675771244; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Er6Iy+p5ARJwgcVU1iJ7XUBhMIoC1YMGDf5+O3rDddo=; b=MdivRCw/lJKJDSeQgV/vSTiL1wkF+dLnLuq7Y1kATfuFZWO5/sPOYrB1l7k1XNk3bNJvAe yScD8Dn5smV5iuVYlk6/MKDCNSolpPHObxFDkznClzvjqtsMEVwjKYLDCvixTewbqmeSHE OZjwaEXXunnSOykLGeeN23WM8pyXCWQTbJuj+fEQQMFV56jMrzQ1jR8x1WHKiaDl9TpnGh KhwQZSW5Vh3dW6ShoUuPrEkcaLkL4DUOZX+Sbe+3646y3EW8L54You71BsknoLyUJdlZHg MM5iFFiIDS4VuOyEGg6PeRr0b3yWfQM6LLPfenZM8ls/Ge8Kk7ojBeQpb25TlA== X-Migadu-Queue-Id: 2124B2CF2A X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GMCcVIIT; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Spam-Score: -3.09 X-Spam-Score: -3.09 X-TUID: esfxuXfNaeSX Hi, On Fri, 03 Feb 2023 at 23:54, Liliana Marie Prikler wrote: >> +@quotation Note >> +@cindex shebang >> +@command{guix shell} can be used as @emph{shebang}.=C2=A0 Consider the >> +previous example as an executable Python script, the @emph{shebang} >> +reads, >> + >> +@example >> +#!/usr/bin/env -S guix shell python python-nympy -- python3 >> +@end example >> + >> +All the @var{options} or convenience of @command{guix shell} apply. >> +@end quotation >> + > > Is this really guix running as a shell or is it actually a feature of > env? In either case, it's worth documenting, but we should try to stay > factually correct. Well, I am not sure to understand the question. It is a feature of env which allows to run =E2=80=9Cguix shell=E2=80=9D which provides python3 as = =E2=80=9Cshell=E2=80=9D. >From my understanding, all written seems factually correct. Maybe I am missing something and I would be happy to be corrected if I am doing wrong. :-) Cheers, simon