unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53892: guix shell not reading manifest.scm when used with '--'
@ 2022-02-09  4:19 Maxim Cournoyer
  2022-02-09  9:15 ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2022-02-09  4:19 UTC (permalink / raw)
  To: 53892

Hello Guix!

Consider the following:

--8<---------------cut here---------------start------------->8---
$ mkdir /tmp/test && cd /tmp/test

$ cat <<EOF > manifest.scm
(packages->manifest
 (list (specification->package "make")))
EOF

$ guix shell
guix shell: error: not loading '/tmp/test/manifest.scm' because not authorized to do so
hint: To allow automatic loading of `/tmp/test/manifest.scm' when running `guix shell', you must explicitly
authorize its directory, like so:

     echo /tmp/test >> /home/maxim/.config/guix/shell-authorized-directories

$ echo /tmp/test >> /home/maxim/.config/guix/shell-authorized-directories

$ guix shell
guix shell: loading environment from '/tmp/test/manifest.scm'...
The following derivation will be built:
   /gnu/store/886dfpr1fc43insawzbnk8s713bh9nf8-profile.drv

building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
The following builds are still in progress:
  /gnu/store/40p4vzxxmhz6ah25cx4iil3v5f87lmwn-info-dir.drv
  /gnu/store/k0jkw8rfskymq3lnkdjs9ljmccvbwcc3-fonts-dir.drv
  /gnu/store/y3y53p535v0nqvfjlzb3bw352m78xmdx-emacs-subdirs.drv

The following builds are still in progress:
  /gnu/store/40p4vzxxmhz6ah25cx4iil3v5f87lmwn-info-dir.drv
  /gnu/store/k0jkw8rfskymq3lnkdjs9ljmccvbwcc3-fonts-dir.drv

The following build is still in progress:
  /gnu/store/40p4vzxxmhz6ah25cx4iil3v5f87lmwn-info-dir.drv

building profile with 1 package...

[env]$ exit

$ guix shell -C -- make
guix shell: warning: no packages specified; creating an empty environment
guix shell: error: make: command not found
--8<---------------cut here---------------end--------------->8---

The last command exhibit the problem.

Thanks,

Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-02 14:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09  4:19 bug#53892: guix shell not reading manifest.scm when used with '--' Maxim Cournoyer
2022-02-09  9:15 ` Josselin Poiret via Bug reports for GNU Guix
2022-02-09 15:40   ` Maxim Cournoyer
2022-03-02 10:41   ` Ludovic Courtès
2022-03-02 14:04     ` Maxim Cournoyer

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).