From: jman <help-guix@city17.xyz>
To: help-guix@gnu.org
Subject: guix container with FHS emulation and env vars
Date: Fri, 30 Dec 2022 17:52:29 +0100 [thread overview]
Message-ID: <877cy8lt7y.fsf@city17.xyz> (raw)
Hello,
When emulating a FHS I observe that env vars are not preserved. Example
this command will not preserve $PATH:
guix shell --container --emulate-fhs --preserve='^PATH$'
When creating a container *without* emulating a FHS, env vars are available, example:
guix shell --container --preserve='^PATH$'
See this log:
https://paste.sr.ht/~jman/65e7f96c445504e11f55595b237280e0c1e3ad34
Any hint? I am a guix newbie so I am sure I am missing something :)
thanks
reply other threads:[~2023-01-02 7:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877cy8lt7y.fsf@city17.xyz \
--to=help-guix@city17.xyz \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).