Subject: bug#56289: "guix shell -f guix2.scm" fails always

From: Liliana Marie Prikler <[email-masked]>
Date: Wed, 29 Jun 2022 08:19:30 +0200

Am Dienstag, dem 28.06.2022 um 22:47 +0200 schrieb Maxime Devos:
> Put the folllowing in "oops-guix.scm":
> 
> (use-modules (gnu packages))
> (specifications->packages '("hello"))
> 
> then do: "guix shell -f oops-guix.scm" to make an environment
> with "hello".  I get:
> 
> > guix shell: warning: no packages specified; creating an empty
> > environment
> $ which hello
> > /home/regulator/.guix-profile/bin/hello # <-- not from the new
> > environment!
> 
> Or even simpler: do "guix shell -f non-existing-file.scm":
> > guix shell: warning: no packages specified; creating an empty
> > environment
> 
> Looks like "-f" is ignored entirely?
Have you tried specifying a file that actually contains a package (not
a manifest)?  That being said, the error reporting could be better :)