GNU bug report logs -
#66632
guix shell: --dry-run not applied if profile already cached
Previous Next
To reply to this bug, email your comments to 66632 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#66632
; Package
guix
.
(Thu, 19 Oct 2023 09:50:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Simon Tournier <zimon.toutoune <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 19 Oct 2023 09:50:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 1 year and 307 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.