GNU bug report logs -
#73292
“guix shell --pure“ displays twice the same warning
Previous Next
To reply to this bug, email your comments to 73292 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#73292
; Package
guix
.
(Mon, 16 Sep 2024 08:03: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
.
(Mon, 16 Sep 2024 08:03:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
--8<---------------cut here---------------start------------->8---
$ guix shell --pure
guix shell: warning: no packages specified; creating an empty environment
guix shell: warning: no packages specified; creating an empty environment
--8<---------------cut here---------------end--------------->8---
That’s because: one is from ’auto-detect-manifest’ in (guix scripts
shell):
(if (or (not interactive?)
disallow-implicit-load?
(options-contain-payload? opts))
opts
(match (find-file-in-parent-directories '("manifest.scm" "guix.scm"))
(#f
(warning (G_ "no packages specified; creating an empty environment~%"))
opts)
called by ’parse-args’ called by the entry-point command ’guix-sell’.
And another one is from ’guix-environment*’ in (guix scripts
environment):
(when (null? (manifest-entries manifest))
(warning (G_ "no packages specified; creating an empty environment~%")))
called by the entry-point command ’guix-shell’.
Well, since ‘guix environment’ is deprecated, I would suggest to remove
the warning in ’guix-environment*’. It would improve the “polish”.
Cheers,
simon
Reported by @lynn_sh <at> tech.lgbt from Mastodon. :-)
This bug report was last modified 332 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.