* bug#66632: guix shell: --dry-run not applied if profile already cached
@ 2023-10-19 8:11 Simon Tournier
0 siblings, 0 replies; only message in thread
From: Simon Tournier @ 2023-10-19 8:11 UTC (permalink / raw)
To: 66632
Hi,
Using Guix 6113e05, I notice a behaviour that I do not expect.
--8<---------------cut here---------------start------------->8---
$ guix shell xterm --dry-run
The following derivation would be built:
/gnu/store/x26rsb69l3jjxczx2ap0i3app6q8prwl-profile.drv
$ which xterm
/usr/bin/xterm
$ guix shell xterm
The following derivation will be built:
/gnu/store/x26rsb69l3jjxczx2ap0i3app6q8prwl-profile.drv
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 1 package...
$ which xterm
/gnu/store/9phsgk6m6h7gy09698m5a0s42aqi9yid-profile/bin/xterm
--8<---------------cut here---------------end--------------->8---
So far, so good.
Now, even if --dry-run is provided, it enters the profile.
--8<---------------cut here---------------start------------->8---
$ which xterm
/usr/bin/xterm
$ guix shell xterm --dry-run
$ which xterm
/gnu/store/9phsgk6m6h7gy09698m5a0s42aqi9yid-profile/bin/xterm
--8<---------------cut here---------------end--------------->8---
Well, I thought maybe that’s because --rebuild-cache, but no:
--8<---------------cut here---------------start------------->8---
$ which xterm
/usr/bin/xterm
$ guix shell xterm --dry-run --rebuild-cache
$ which xterm
/gnu/store/9phsgk6m6h7gy09698m5a0s42aqi9yid-profile/bin/xterm
--8<---------------cut here---------------end--------------->8---
Well, and I thought that --rebuild-cache redoes the dance:
--8<---------------cut here---------------start------------->8---
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 1 package...
--8<---------------cut here---------------end--------------->8---
and not, if I do not miss something.
Cheers,
simon
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-19 9:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-19 8:11 bug#66632: guix shell: --dry-run not applied if profile already cached Simon Tournier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.