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

* bug#53892: guix shell not reading manifest.scm when used with '--'
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2022-02-09  9:15 UTC (permalink / raw)
  To: Maxim Cournoyer, 53892

Hi Maxim,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> --8<---------------cut here---------------start------------->8---
> $ 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.

I believe this is [1].

[1] https://issues.guix.gnu.org/52347#18

Best,
-- 
Josselin Poiret




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

* bug#53892: guix shell not reading manifest.scm when used with '--'
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-02-09 15:40 UTC (permalink / raw)
  To: Josselin Poiret; +Cc: 53892, GNU Debbugs

merge 52347 53892
thanks

Hello Josselin!

Josselin Poiret <dev@jpoiret.xyz> writes:

> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> --8<---------------cut here---------------start------------->8---
>> $ 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.
>
> I believe this is [1].
>
> [1] https://issues.guix.gnu.org/52347#18

Oh, I had missed it; thanks for pointing it out.  I've merged the two
issues.

Thank you!

Maxim




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

* bug#53892: guix shell not reading manifest.scm when used with '--'
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2022-03-02 10:41 UTC (permalink / raw)
  To: Josselin Poiret; +Cc: 53892, Maxim Cournoyer

Hi,

Josselin Poiret <dev@jpoiret.xyz> skribis:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> --8<---------------cut here---------------start------------->8---
>> $ 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.
>
> I believe this is [1].
>
> [1] https://issues.guix.gnu.org/52347#18

Should we close as “notabug”?

Ludo’.




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

* bug#53892: guix shell not reading manifest.scm when used with '--'
  2022-03-02 10:41   ` Ludovic Courtès
@ 2022-03-02 14:04     ` Maxim Cournoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-03-02 14:04 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 53892-close

tags 53892 notabug
--

Hi Ludovic,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Josselin Poiret <dev@jpoiret.xyz> skribis:
>
>> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>
>>> --8<---------------cut here---------------start------------->8---
>>> $ 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.
>>
>> I believe this is [1].
>>
>> [1] https://issues.guix.gnu.org/52347#18
>
> Should we close as “notabug”?

That seems reasonable; and I see it's already documented as such.

Good for me!  Thanks for pointing it out.

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