From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UC12L8gBY2dZawEAqHPOHw:P1 (envelope-from ) for ; Wed, 18 Dec 2024 17:09:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UC12L8gBY2dZawEAqHPOHw (envelope-from ) for ; Wed, 18 Dec 2024 18:09:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=YmEoiKHL; dkim=fail ("headers eddsa verify failed") header.d=josefsson.org header.s=ed2303 header.b=qIRDO4dT; dkim=fail ("headers rsa verify failed") header.d=josefsson.org header.s=rsa2303 header.b=rcc5dx20; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734541768; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature:openpgp:openpgp; bh=jiuMJ2Z7y069GOF4T2+WPgqg/+6KvgJQX+7io8rr/XQ=; b=sKKWBmvCSW+GXMnTdKbEzBDHVxVLoqRZtS+hGsmTjxfFCa3u/7/qsEuAC4VFP9X9EZuxvy P1Tgt1mLbhplX1KzcOHgyhOmjlEL2x4TwyGfHxePLhGoja19MYMiR8EhH4jX7R1A1o8Km0 6ssiqpz7+9YzvKsSw4AKea6CpQL3pD5rjfU7QxtuaNhYWexz99vgOl1FLq1sLVrahv0fK5 2vxgkrcGQr64zKEaKzK5JSVqJs/DC5/C/IHDx0dUne8Saq9Ts8RwgI3Op9Lbc2+busv0li TkyKQzyIxGptt86bbVh1PnULN39IjYpWkpynY+tqdPJgwWgu0mAMyaYOERKHEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734541768; a=rsa-sha256; cv=none; b=hMfCIecdnWv3Ppu3tyKem8LoKdqVtP13J8brOaVNpg/7hsRb3JkVHNyc3j0lmAWpKpbRjb XEtWbKNXogPOfoVT3ZG21cxQcsYkIiZ1lkVYczX0WV7wg3mTXWSMpB155+YeXRSd00txtw FF4LZbrGGWzV7G9flltFnETPRxygV1SfMC5D/6/ZwiqfXKK6gk9kdEx9jfcj9D+rIOGiiK bmhVcNI0GPkMkY6Pb3TTh/FEQ4l6MyNslNvR+3EgHbz2/F90cFpnVpvL/E7w+nvaC7m3ZY B7qqCiwrmYaMMMCjXUldONuZWhHimMmdmCzwcm6L9BZeE4xVfjxPGzFq30YDgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=YmEoiKHL; dkim=fail ("headers eddsa verify failed") header.d=josefsson.org header.s=ed2303 header.b=qIRDO4dT; dkim=fail ("headers rsa verify failed") header.d=josefsson.org header.s=rsa2303 header.b=rcc5dx20; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" 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 EBB441FB1E for ; Wed, 18 Dec 2024 18:09:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNxXu-0000mA-Nj; Wed, 18 Dec 2024 12:09:14 -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 1tNxXs-0000hV-69 for bug-guix@gnu.org; Wed, 18 Dec 2024 12:09:12 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNxXr-0003q6-T8 for bug-guix@gnu.org; Wed, 18 Dec 2024 12:09:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=jiuMJ2Z7y069GOF4T2+WPgqg/+6KvgJQX+7io8rr/XQ=; b=YmEoiKHLIJRNdd24EiHrHhVsPK+8tNcX73QJu6M+4MnTHirnS4gVKq2L/uQ1u6dXaZj97PHxTzE0KGHFBsHD7wp8vVONfD9O4fPaLKdUJ1PoyAjPRxkzw9UeFu860srNXEX7RdXg5tEw1LIRReMQeuIP4C6bOSlf4s3xGqnwByi+020p5ol7meUkBHpT7lFMwly1FMm9LEEQFMBDo1sTXg3WEeJ5rV4FcSs0ouTxQl9EW3dR3TduU9Tfg7wNbBFHMZbf1ce6hor6/cMoFCM1T6vkFXeI+iSoTQr9tYdeuzgrFFzRaNrz+m5A5TV8ORjUECY+x9NK8wqnNn/7nHCM1w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNxXr-0006LR-8J for bug-guix@gnu.org; Wed, 18 Dec 2024 12:09:11 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74948: guix pack docker environment variable setting Resent-From: Simon Josefsson Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 18 Dec 2024 17:09:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74948 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74948@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173454171423827 (code B ref -1); Wed, 18 Dec 2024 17:09:11 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2024 17:08:34 +0000 Received: from localhost ([127.0.0.1]:35784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNxXB-0006C8-HG for submit@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 ) id 1tNxX8-0006Bx-Ul for submit@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 ) id 1tNxX1-0008Jc-IT for bug-guix@gnu.org; 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 ) id 1tNxWx-0003kE-KF for bug-guix@gnu.org; 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 ) id 1tNxWn-00ClUz-9K for bug-guix@gnu.org; Wed, 18 Dec 2024 17:08:05 +0000 X-Hashcash: 1:23:241218:bug-guix@gnu.org::pNyhm7CmK+/ZCbxI:Uqvd OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Wed, 18 Dec 2024 18:08:11 +0100 Message-ID: <87v7vgkjgk.fsf@kaka.sjd.se> 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@josefsson.org; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Simon Josefsson From: Simon Josefsson via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.01 X-Spam-Score: -9.01 X-Migadu-Queue-Id: EBB441FB1E X-TUID: oDz1iNch6tz0 --=-=-= 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----- --=-=-=--