GNU bug report logs - #53892
guix shell not reading manifest.scm when used with '--'

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Wed, 9 Feb 2022 04:20:01 UTC

Severity: normal

Merged with 52347

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53892 in the body.
You can then email your comments to 53892 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#53892; Package guix. (Wed, 09 Feb 2022 04:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 09 Feb 2022 04:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: guix shell not reading manifest.scm when used with '--'
Date: Tue, 08 Feb 2022 23:19:02 -0500
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




Information forwarded to bug-guix <at> gnu.org:
bug#53892; Package guix. (Wed, 09 Feb 2022 09:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 53892 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 53892 <at> debbugs.gnu.org
Subject: Re: bug#53892: guix shell not reading manifest.scm when used with '--'
Date: Wed, 09 Feb 2022 10:15:30 +0100
Hi Maxim,

Maxim Cournoyer <maxim.cournoyer <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#53892; Package guix. (Wed, 09 Feb 2022 15:41:02 GMT) Full text and rfc822 format available.

Message #11 received at 53892 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: 53892 <at> debbugs.gnu.org, GNU Debbugs <control <at> debbugs.gnu.org>
Subject: Re: bug#53892: guix shell not reading manifest.scm when used with '--'
Date: Wed, 09 Feb 2022 10:40:22 -0500
merge 52347 53892
thanks

Hello Josselin!

Josselin Poiret <dev <at> jpoiret.xyz> writes:

> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer <at> 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




Merged 52347 53892. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 09 Feb 2022 15:41:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#53892; Package guix. (Wed, 02 Mar 2022 10:42:02 GMT) Full text and rfc822 format available.

Message #16 received at 53892 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: 53892 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: bug#53892: guix shell not reading manifest.scm when used with '--'
Date: Wed, 02 Mar 2022 11:41:06 +0100
Hi,

Josselin Poiret <dev <at> jpoiret.xyz> skribis:

> Maxim Cournoyer <maxim.cournoyer <at> 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’.




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 02 Mar 2022 14:06:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Wed, 02 Mar 2022 14:06:02 GMT) Full text and rfc822 format available.

Message #21 received at 53892-close <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, 53892-close <at> debbugs.gnu.org
Subject: Re: bug#53892: guix shell not reading manifest.scm when used with '--'
Date: Wed, 02 Mar 2022 09:04:54 -0500
tags 53892 notabug
--

Hi Ludovic,

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

> Hi,
>
> Josselin Poiret <dev <at> jpoiret.xyz> skribis:
>
>> Maxim Cournoyer <maxim.cournoyer <at> 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




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 02 Mar 2022 14:06:02 GMT) Full text and rfc822 format available.

Notification sent to cayetano.santos <at> inventati.org:
bug acknowledged by developer. (Wed, 02 Mar 2022 14:06:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 31 Mar 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.