GNU bug report logs - #61099
guix shell '-E' option can be silently ignored

Previous Next

Package: guix;

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

Date: Fri, 27 Jan 2023 16:29:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: bug#61099: closed (Re: bug#61099: guix shell '-E' option can be
 silently ignored)
Date: Fri, 27 Jan 2023 16:44:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#61099: guix shell '-E' option can be silently ignored

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 61099 <at> debbugs.gnu.org.

-- 
61099: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61099
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 61099-done <at> debbugs.gnu.org
Subject: Re: bug#61099: guix shell '-E' option can be silently ignored
Date: Fri, 27 Jan 2023 11:43:42 -0500
Hello,

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

> Hello,
>
> I just encountered a situation where -E is not correctly parsed/used and
> ignore silently.
>
> Reproducer:
>
> guix shell -CD igraph -E /gnu=/gnu strace
>
>
> The above doesn't work (there are far too few entries to /gnu/store, it
> isn't shared).
>
> This works:
>
> guix shell -CD igraph --expose=/gnu=/gnu strace

As reported by Ludovic on IRC, -E is not --expose, but --preserve.
There's no short option for --expose.

Closing!

-- 
Thanks,
Maxim

[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: guix shell '-E' option can be silently ignored
Date: Fri, 27 Jan 2023 11:28:50 -0500
Hello,

I just encountered a situation where -E is not correctly parsed/used and
ignore silently.

Reproducer:

--8<---------------cut here---------------start------------->8---
guix shell -CD igraph -E /gnu=/gnu strace
--8<---------------cut here---------------end--------------->8---

The above doesn't work (there are far too few entries to /gnu/store, it
isn't shared).

This works:

--8<---------------cut here---------------start------------->8---
guix shell -CD igraph --expose=/gnu=/gnu strace
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim



This bug report was last modified 2 years and 176 days ago.

Previous Next


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