From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cClKCC2uimFLMgEAgWs5BA (envelope-from ) for ; Tue, 09 Nov 2021 18:21:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kP/4Ay2uimHXLAAAB5/wlQ (envelope-from ) for ; Tue, 09 Nov 2021 17:21:49 +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 C55BD1D286 for ; Tue, 9 Nov 2021 18:21:48 +0100 (CET) Received: from localhost ([::1]:38494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkUod-0002ki-W8 for larch@yhetil.org; Tue, 09 Nov 2021 12:21:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkUoP-0002iV-Q6 for guix-devel@gnu.org; Tue, 09 Nov 2021 12:21:33 -0500 Received: from [2001:470:142:3::e] (port=49566 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkUoP-00013r-BD; Tue, 09 Nov 2021 12:21:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=89SMwCp47j+hJw3mwI5uUba9Bfx4ppUCBOGr8w5M5QU=; b=jR7J96EqmefbzeeJmp+4 TZwDMEG9wzFIU1CO/TiTd5vQ15gImSeNmdqj548VnQGwUGymemCmrepKMf36jWbcXg/AUemT7uTii Iy/64f3h94eB7UbL73O+xsKnAdZkLTyJyG/DbeVFjTCvKeCm670O+f6m5OKChbKQBTdrpuHQ+d/x0 UBpPljATzgggNOr+BPdWmBGDeanvXJAyN3/QdyyHtJlFHyVJJ+sm/7ROR7Wsm07dnVXwWzOi6H9TJ BHG6z/d4+g1ESXkInluopHwG3LHbPYBnY/IXlvklwCMm9m5lJ+JPlNB4Xw2sXBi4u+nTQAJ0O5H1f 4Z52/4M0G5F5AA==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44410 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkUoO-0003Fm-Ty; Tue, 09 Nov 2021 12:21:33 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jacob Hrbek Subject: Re: Unable to define shebang for guix shell file References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Brumaire an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 09 Nov 2021 18:21:31 +0100 In-Reply-To: (Jacob Hrbek's message of "Mon, 01 Nov 2021 00:08:17 +0000") Message-ID: <87czn9i6sk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , 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=1636478508; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=89SMwCp47j+hJw3mwI5uUba9Bfx4ppUCBOGr8w5M5QU=; b=DnA0kgeOeAjG1588J0XX3DJxhkBx7bdiTE0M17sgFAoQ58YoOtoKV9kLbRmGIHQgQmNgbh /8CgE8+CNRQKMedcLB2z4BtogFSbRwR47X3I9U51wVeWKVgezOIEkxsi90wfa6YN3it1AS /pcsPAUoRDRD4ioU4KAG9VNnI3KCaflK0TWMsRBm6w3bWhRCsbdUM3J9zyJIYbqtx9ND0G otQilCmbuXcLFuIBVkEkfw8m8s642gYWmUagOpojxaDY9w2+UyDpUigJZkCa235QbEBDem uwBGPrG/n/HN13V1GxUcKZi7OU/QcKBcDWWNhcMYpKCagw5TJdOqSREcWujY7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636478508; a=rsa-sha256; cv=none; b=o60BlcuzQNnbp0XPG/tFcOOlRKq4UyCkvEwNEnAYThDLsuD3AXJa8qJLtdttBPRrchi78c VpOaS3cY7rAk4WOfDDN5a81ckvIeVgyiL44e9gnfjYOLK5IJMXcJ9woJjaVM8BbcvH0IGM 2T33pUt1CUD1NyZ2ykUrIeHdAHRSIF8bbMcR3nNl79m1KwXTM9Sm/6dCTbW0Lv02wPxhjN 9+oPSqmDmT110Kg9HFpfd8xHWMJlq6pkFH+L2Tlq9QKkKhzsuX8MEEybnGFY4CasqXOEZY +gOn+0MbQBV2ePTQGi3RDvNPydRb2quCe614jv5csPiHYMrLK0jjRYPxhWCVwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=jR7J96Eq; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=jR7J96Eq; dmarc=pass (policy=none) header.from=gnu.org; 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: C55BD1D286 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: /CjnJT6icZ+W Hi, Jacob Hrbek skribis: > I am unable to define a guix shell file with shebang to decrease the comp= lexity 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 one = 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 work= s well enough for me. How does that sound? Thanks, Ludo=E2=80=99.