Received: (at 74948) by debbugs.gnu.org; 7 Jan 2025 23:01:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 07 18:01:46 2025 Received: from localhost ([127.0.0.1]:45108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tVIa2-0004Kg-EP for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 18:01:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56936) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tVIa0-0004KQ-Kx for 74948 <at> debbugs.gnu.org; Tue, 07 Jan 2025 18:01:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1tVIZt-0008A7-Sz; Tue, 07 Jan 2025 18:01:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=mjH1sUoVtjd3CE7B0wH7wqjIsvumfIBSrRp+g3qnpNY=; b=N8sNFWs1e8fEwp281ocW II3QPcYJZhLYzAWjUfMtozOWMkJqZBiEi8RfipQWwbf5tLrciR2Td6+fg3r8Cb4T0OC6kVXT0ea6R 8C+ocZwLIJvCvaF2FJpOblUfyLRIutJ/kyTXHhHe5MKL9T539MmZ2EYt+WFQzQlqdZOMki6A3KDYK gitf5b9rxunqogrdIzvks0E77V8xRSe7OpW7hlhFQPUsQNVqrBswazf6htMCDYdj3lJnJqeFPSauS dlLhLIzxQnaqKfyGCQLFdavxGIR36xD1zyF7tqlOaeRfcebyh+59tCOhNe3+W8TdHgnLy0GQ95QmO bTCw5gucsSbN0A==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Simon Josefsson <simon@HIDDEN> Subject: Re: bug#74948: guix pack docker environment variable setting In-Reply-To: <87v7vgkjgk.fsf@HIDDEN> (Simon Josefsson's message of "Wed, 18 Dec 2024 18:08:11 +0100") References: <87v7vgkjgk.fsf@HIDDEN> Date: Wed, 08 Jan 2025 00:01:25 +0100 Message-ID: <87ed1exm7u.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74948 Cc: 74948 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, Simon Josefsson <simon@HIDDEN> skribis: > Would a new `guix pack --setenv HOME=3D/` parameter be useful? > > Such a parameter could be docker-specific and documented in > --help-docker-format. If other formats support setting environment > variables too, it could instead be a normal `guix pack` parameter. > Maybe AppImage support setting environment variables too? That would definitely be useful, yes. The squashfs format (for Singularity/Apptainer) supports it too, maybe AppImage as well. Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#74948
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Dec 2024 17:08:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 18 12:08:34 2024 Received: from localhost ([127.0.0.1]:35784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNxXB-0006C8-HG for submit <at> debbugs.gnu.org; Wed, 18 Dec 2024 12:08:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:56676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <simon@HIDDEN>) id 1tNxX8-0006Bx-Ul for submit <at> debbugs.gnu.org; Wed, 18 Dec 2024 12:08:27 -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 <simon@HIDDEN>) id 1tNxX1-0008Jc-IT for bug-guix@HIDDEN; Wed, 18 Dec 2024 12:08:22 -0500 Received: from uggla.sjd.se ([2001:9b1:8633::107]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <simon@HIDDEN>) id 1tNxWx-0003kE-KF for bug-guix@HIDDEN; Wed, 18 Dec 2024 12:08:18 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2303; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=jiuMJ2Z7y069GOF4T2+WPgqg/+6KvgJQX+7io8rr/XQ=; t=1734541688; x=1735751288; b=qIRDO4dT34qEg6xr23+I+rwk+nSz5nRDLumcsdVTjpi+tmQ gvc5rFzbWP3dKHK8i+4bPnqHT8R1wvMFGtuK5CA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2303; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=jiuMJ2Z7y069GOF4T2+WPgqg/+6KvgJQX+7io8rr/XQ=; t=1734541688; x=1735751288; b=rcc5dx2078FnMiDNunmXw4gpepNyN58nMCukONH8GUvjnpo gsGdCGtilqIRFPx6+3LEIWZNtUGbAontXbkU1CcTIef2/a7QgD0p68iKilq56SjFdYnFWWcN+rmRE /YIxBdmJ1gHiE9csMI/ZTr8w2c7IADJlTqpSQLcGkxCq2O+0WnxbK0R1n22O98up6z+lXu3DYtKbs XbJ/E93iljtPdJfZlnm/O7Qv1P2BCGTWUTpaRh4KweqOvZ4w5IUyTzq64vs1k9OQV/vLr2qF8iCx9 nRVtelu0WzTCIvdoDrYCwNr470LM3x4huZqCap8lPUknrhW/JBHI8z3jslyWBBG8YeDTMEr5lSfBM coYhzaQqla6qcu/9zA0RFArYbHb0mmpEldaUwAwSBkIuZCu5ZXxJ57OyC1+87PesSAeUAHnLGYaET iOBFf+y1FLT42/tlf1a9PTky; Received: from h-178-174-130-130.a498.priv.bahnhof.se ([178.174.130.130]:40588 helo=kaka) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <simon@HIDDEN>) id 1tNxWn-00ClUz-9K for bug-guix@HIDDEN; Wed, 18 Dec 2024 17:08:05 +0000 X-Hashcash: 1:23:241218:bug-guix@HIDDEN::pNyhm7CmK+/ZCbxI:Uqvd From: Simon Josefsson <simon@HIDDEN> To: bug-guix@HIDDEN Subject: guix pack docker environment variable setting OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Wed, 18 Dec 2024 18:08:11 +0100 Message-ID: <87v7vgkjgk.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@HIDDEN; helo=uggla.sjd.se X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Hi I believe the guix-pack docker format allows setting environment variables in the resulting image, is that right? I can't find any way to set them using the `guix pack` tool, am I missing it? Would a new `guix pack --setenv HOME=/` parameter be useful? Such a parameter could be docker-specific and documented in --help-docker-format. If other formats support setting environment variables too, it could instead be a normal `guix pack` parameter. Maybe AppImage support setting environment variables too? Thanks, /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCZ2MBexQcc2ltb25Aam9z ZWZzc29uLm9yZwAKCRBRcisI/kdFoktVAP9FTNdwoU1OhXw6x/iA/v+BdU+l2XV5 1QNMidlccDGP1gEA7bB8YjPPz4lrSh7RrEmfEHWZadIKauQtJ4J8QaYWdQ0= =HqfV -----END PGP SIGNATURE----- --=-=-=--
Simon Josefsson <simon@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#74948
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.