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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61099 in the body.
You can then email your comments to 61099 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#61099; Package guix. (Fri, 27 Jan 2023 16:29: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. (Fri, 27 Jan 2023 16:29: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 '-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




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Fri, 27 Jan 2023 16:44:02 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Fri, 27 Jan 2023 16:44:02 GMT) Full text and rfc822 format available.

Message #10 received at 61099-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 25 Feb 2023 12:24:19 GMT) Full text and rfc822 format available.

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

Previous Next


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