unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#74948: guix pack docker environment variable setting
@ 2024-12-18 17:08 Simon Josefsson via Bug reports for GNU Guix
  0 siblings, 0 replies; only message in thread
From: Simon Josefsson via Bug reports for GNU Guix @ 2024-12-18 17:08 UTC (permalink / raw)
  To: 74948

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-18 17:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18 17:08 bug#74948: guix pack docker environment variable setting Simon Josefsson via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).