all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 53892@debbugs.gnu.org
Subject: bug#53892: guix shell not reading manifest.scm when used with '--'
Date: Tue, 08 Feb 2022 23:19:02 -0500	[thread overview]
Message-ID: <87czjw1xl5.fsf@gmail.com> (raw)

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




             reply	other threads:[~2022-02-09  4:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09  4:19 Maxim Cournoyer [this message]
2022-02-09  9:15 ` bug#53892: guix shell not reading manifest.scm when used with '--' 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czjw1xl5.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=53892@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.