Subject: bug#52347: Shell: error when -m manifest is removed

From: Cayetano Santos <[email-masked]>
Date: Tue, 07 Dec 2021 11:07:51 +0100

Problem is

  guix shell -C -- python3

Tried after ’guix pull’ and problem remains.

C.

>mar. 07 déc. 2021 at 10:26, zimoun <[email-masked]> ...

> Hi,
>
> On Tue, 7 Dec 2021 at 09:41, Cayetano Santos via Bug reports for 
> GNU
> Guix <[email-masked]> wrote:
>
>>     guix shell --container
>>
>> followed by
>>
>>     python3
>>
>> works.
>
> It works correctly for me.  With Guix f43a783:
>
> --8<---------------cut 
> here---------------start------------->8---
> $ guix shell -C -m manifest.scm -- python3 -c 'import this'
> $ guix shell -C -m manifest.scm
> [env]$ python3 -c 'import this'
>
> $ guix shell -C
> guix shell: warning: no packages specified; creating an empty 
> environment
> guix shell: warning: no packages specified; creating an empty 
> environment
> [env]$ python3
> sh: python3: command not found
> [env]$ $GUIX_ENVIRONMENT/bin/python3
> sh: 
> /gnu/store/h3al0y1pbr64gcjhmn4wn3v863vhc72a-profile/bin/python3:
> No such file or directory
> [env]$ $GUIX_ENVIRONMENT/bin
> sh: /gnu/store/h3al0y1pbr64gcjhmn4wn3v863vhc72a-profile/bin: No 
> such
> file or directory
>
> $ tree /gnu/store/h3al0y1pbr64gcjhmn4wn3v863vhc72a-profile
> /gnu/store/h3al0y1pbr64gcjhmn4wn3v863vhc72a-profile
> ├── etc
> │   └── profile
> └── manifest
>
> 1 directory, 2 files
> --8<---------------cut 
> here---------------end--------------->8---
>
>
> Cheers,
> simon