[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52347: Shell: error when -m manifest is removed
From: |
Ludovic Courtès |
Subject: |
bug#52347: Shell: error when -m manifest is removed |
Date: |
Wed, 22 Dec 2021 23:49:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Cayetano,
Cayetano Santos <cayetano.santos@inventati.org> skribis:
> Following command works
>
> guix shell --container -m manifest.scm -- python3
>
> But
>
> guix shell --container -- python3
>
> gives an error. However,
>
> guix shell --container
>
> followed by
>
> python3
>
> works.
>
> So, by just removing the ’-m manifest.scm’ flag, I get an error.
As Liliana noted, this is the intended behavior: auto-loading of
‘manifest.scm’ happens only for interactive use. This is to keep
non-interactive use context-independent and thereby avoid bad surprises.
Note that when ‘manifest.scm’ is auto-loaded, a message is printed; when
it’s not considered, no message is printed. Likewise, when creating an
empty environment, a warning is printed (twice even :-)).
Any suggestions on things we might improve to avoid confusion?
Thanks,
Ludo’.
- bug#52347: Shell: error when -m manifest is removed, (continued)
- bug#52347: Shell: error when -m manifest is removed, Liliana Marie Prikler, 2021/12/07
- bug#52347: Shell: error when -m manifest is removed, zimoun, 2021/12/07
- bug#52347: Shell: error when -m manifest is removed, Liliana Marie Prikler, 2021/12/07
- bug#52347: Shell: error when -m manifest is removed, zimoun, 2021/12/07
- bug#52347: Shell: error when -m manifest is removed, Liliana Marie Prikler, 2021/12/07
- bug#52347: Shell: error when -m manifest is removed, zimoun, 2021/12/07
bug#52347: Shell: error when -m manifest is removed, Maxime Devos, 2021/12/07
bug#52347: Shell: error when -m manifest is removed,
Ludovic Courtès <=