From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cOOONrjpimGjUAAAgWs5BA (envelope-from ) for ; Tue, 09 Nov 2021 22:35:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OGQdMrjpimG2MgAAbx9fmQ (envelope-from ) for ; Tue, 09 Nov 2021 21:35:52 +0000 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 9ED6D178B3 for ; Tue, 9 Nov 2021 22:35:52 +0100 (CET) Received: from localhost ([::1]:39314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkYmV-00064e-Oq for larch@yhetil.org; Tue, 09 Nov 2021 16:35:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkYmH-00063x-SW for guix-devel@gnu.org; Tue, 09 Nov 2021 16:35:37 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:55572) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkYmE-0005Sn-Fl for guix-devel@gnu.org; Tue, 09 Nov 2021 16:35:37 -0500 Date: Tue, 09 Nov 2021 21:35:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rixotstudio.cz; s=protonmail2; t=1636493731; bh=dpWZ/W8hIM29GOzfA0G14LrJieCugQPYRg4L3alrCtI=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=qsIkUHDVIsN7mOTymYQkZoA/dnhABonBq0kpWyAFKSXP0xyMvrazFzcO4NtoQMXkx fBR5JdALqsXRsW4OwFDKYgznlvXEF2p5RyPDLYiR2+engZ1usufN0AO7cRH5k5g9fv Pj2IfxCGWh84Tspz77mGTOvDpYto6fLo0BYOWqkcSK52yG7dYIv6W/Wp2ywtfwtQqn 1UX1/sE9K5IkCDlTw+CeKG1iHcEyRdeB44h0I27SG09Gr/8E213pZRE8lsPScSSERI EypzOcWbESUlzIFkSw06LDCnLroMB56dCCGedwr1UOKHuklpNlF0QNH9coseJW9UZ5 r93Vht0IrSbIg== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Jacob Hrbek Subject: Re: Unable to define shebang for guix shell file Message-ID: In-Reply-To: <87czn9i6sk.fsf@gnu.org> References: <87czn9i6sk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------1a6459744c8490a69b7b2a6408a9ce3ccbb5f03d4854196234bd3278968b3a56"; charset=utf-8 Received-SPF: pass client-ip=185.70.40.136; envelope-from=kreyren@rixotstudio.cz; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jacob Hrbek Cc: "guix-devel@gnu.org" Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636493752; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dpWZ/W8hIM29GOzfA0G14LrJieCugQPYRg4L3alrCtI=; b=KPwIq1V2zPJ0dJ7X3EeVUITokvtHpYkcv9fEYmMbNWGvz0eL/2Y0vk/JoYwq7L7nvIRpOZ CCwX7uFCDQXBJIsK7STVzGa646jXFS/hyUf1rEDNb7OOewfY6mXHaDLd2NW/J/jN76ot1C Bce6KZ9a1TmixDRB+GJJ1sAPgr4LTPmGIXcUrVMM0i7HsTgc8bxa6INH86VflTD/pad8zy jp3OD0gbtw2p5cG39Lozexh77TbD1qFEKrHp1ww9M/nce6ClWtuhNGKSMIe18GwFrk+NB0 R8dLGeIWDmyud8lCNZFY2ovzgdWSxLUdailArTWc/heD7rF7193gfyUFepGlhw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636493752; a=rsa-sha256; cv=none; b=ChlM/IDO9Ha1xeEorfbUEGHTQ/8mxL7tbTe2FF1ITjeaREFq8CBON7Mrt+iiB/yXqmrf1c QOmY/FYcC/KSmz/0wtd0z50miwx3KC7ZFCn4ZD/JMmO1FhJJJd0xEDTmTAGlhDpdZuBFLv OsBdoyLzYSfgKnmXR2vhyc4MN9k7piDMLVfp46wsaQW0cf9Urg9rwprgM0dj6eqMTo2z5Z laS8+WWcccBPqA+we+U+LnS4jjMbdJnqIZWaGIZxo0vbAi9Amgt9IKllDHdin/pgWJ25q6 NWt2kn4LMaRO3obUmR9ZCso4SRGZ+/fSSpNactEXCiCBJLlcPLR5W84IVjOojA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=rixotstudio.cz header.s=protonmail2 header.b=qsIkUHDV; dmarc=pass (policy=none) header.from=rixotstudio.cz; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -5.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rixotstudio.cz header.s=protonmail2 header.b=qsIkUHDV; dmarc=pass (policy=none) header.from=rixotstudio.cz; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 9ED6D178B3 X-Spam-Score: -5.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: omrbfK99hyKr This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------1a6459744c8490a69b7b2a6408a9ce3ccbb5f03d4854196234bd3278968b3a56 Content-Type: multipart/mixed;boundary=---------------------a8447033fbccece3bca5771cbe3523a3 -----------------------a8447033fbccece3bca5771cbe3523a3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 > For now I use =E2=80=9C#!/usr/bin/env -S guix shell --=E2=80=9D, which w= orks well enough for me. How does that sound? -- ludo@gnu.org Not a solution as (AFIAK) POSIX only accepts one argument. -- Jacob "Kreyren" Hrbek Sent with ProtonMail Secure Email. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original M= essage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday, November 9th, 2021 at 5:21 PM, Ludovic Court=C3=A8s wrote: > Hi, > = > Jacob Hrbek kreyren@rixotstudio.cz skribis: > = > > I am unable to define a guix shell file with shebang to decrease the c= omplexity needed in the repository managing (so > > = > > that i can just do ./path/to/guix.scm for guix to invoke `guix shell -= f ./path/to/guix.scm` instead of having to > > = > > sanitize the runtime) as the issue is that POSIX shebang allows only o= ne argument and due to the way we handle > > = > > reproducibility the shebang has to be `#!/usr/bin/env ` > > = > > Proposing to integrate guix-shell for this purpose (inspired by NixOS)= e.g. > = > This was briefly discussed here: > = > https://issues.guix.gnu.org/50960#22 > = > For now I use =E2=80=9C#!/usr/bin/env -S guix shell --=E2=80=9D, which w= orks well enough > = > for me. How does that sound? > = > Thanks, > = > Ludo=E2=80=99. -----------------------a8447033fbccece3bca5771cbe3523a3 Content-Type: application/pgp-keys; filename="publickey - kreyren@rixotstudio.cz - 0x1677DB82.asc"; name="publickey - kreyren@rixotstudio.cz - 0x1677DB82.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - kreyren@rixotstudio.cz - 0x1677DB82.asc"; name="publickey - kreyren@rixotstudio.cz - 0x1677DB82.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tDQpWZXJzaW9uOiBPcGVuUEdQLmpz IHY0LjEwLjEwDQpDb21tZW50OiBodHRwczovL29wZW5wZ3Bqcy5vcmcNCg0KeGpNRVlBbDNGaFlK S3dZQkJBSGFSdzhCQVFkQVFLQXBtZFI4dEc5YUtFZHh3SEovWktPMkN2Wk1SV1B0DQpCTk5HcUpV aHAyTE5MMnR5WlhseVpXNUFjbWw0YjNSemRIVmthVzh1WTNvZ1BHdHlaWGx5Wlc1QWNtbDQNCmIz UnpkSFZrYVc4dVkzbyt3bzhFRUJZS0FDQUZBbUFKZHhZR0N3a0hDQU1DQkJVSUNnSUVGZ0lCQUFJ Wg0KQVFJYkF3SWVBUUFoQ1JDdDAzMFVxMEw4cVJZaEJCWjMyNEtUaktobGM0RWpCNjNUZlJTclF2 eXA1N1FBDQovMHRsYmRuQ0l6cmVLWG12VzJYU1lYekFKb3RKZHhDekUrWEFUTStxUERLekFRQ2Ni SHA3eXc2K0FybmcNCmVTdEdGbi9vbGh4VFBkcHU2NDFDTEdpZ1BtRW9CYzQ0QkdBSmR4WVNDaXNH QVFRQmwxVUJCUUVCQjBEYQ0KaUkzalFmU29pM0RaNC9OZm14R2RzUnN2OS9CcU1nVzVqNmpkQnFr eUlBTUJDQWZDZUFRWUZnZ0FDUVVDDQpZQWwzRmdJYkRBQWhDUkN0MDMwVXEwTDhxUlloQkJaMzI0 S1RqS2hsYzRFakI2M1RmUlNyUXZ5cEhjRUINCkFPUXhTL0ovVU0wZWU4azJqYmxpV2QvUTBJZCtY OFVIQlhoeXFWUmMyMnFyQVFETEhjVzk3V1FiU0pGbw0KMTlrd3Q3ME95SGVwRjZMV3BERDBQdUlT WkQ2SUNnPT0NCj05a1pnDQotLS0tLUVORCBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tDQo= -----------------------a8447033fbccece3bca5771cbe3523a3-- --------1a6459744c8490a69b7b2a6408a9ce3ccbb5f03d4854196234bd3278968b3a56 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKAAYFAmGK6Y0AIQkQrdN9FKtC/KkWIQQWd9uCk4yoZXOBIwet030U q0L8qc/VAP9h+inmbWHBi1FCjBxr1yn7gXKdTj22qH0St1SLgVN4XwD6AjzW uA30ptd8TR2L+Roebh9OskYsCfHBovTJ2SxXgwQ= =7AxI -----END PGP SIGNATURE----- --------1a6459744c8490a69b7b2a6408a9ce3ccbb5f03d4854196234bd3278968b3a56--