* bug#73292: “guix shell --pure“ displays twice the same warning
@ 2024-09-16 8:01 Simon Tournier
0 siblings, 0 replies; only message in thread
From: Simon Tournier @ 2024-09-16 8:01 UTC (permalink / raw)
To: 73292
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@tech.lgbt from Mastodon. :-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-16 8:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-16 8:01 bug#73292: “guix shell --pure“ displays twice the same warning Simon Tournier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).