unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61099: guix shell '-E' option can be silently ignored
@ 2023-01-27 16:28 Maxim Cournoyer
  2023-01-27 16:43 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Cournoyer @ 2023-01-27 16:28 UTC (permalink / raw)
  To: 61099

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




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

* bug#61099: guix shell '-E' option can be silently ignored
  2023-01-27 16:28 bug#61099: guix shell '-E' option can be silently ignored Maxim Cournoyer
@ 2023-01-27 16:43 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2023-01-27 16:43 UTC (permalink / raw)
  To: 61099-done

Hello,

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




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

end of thread, other threads:[~2023-01-27 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27 16:28 bug#61099: guix shell '-E' option can be silently ignored Maxim Cournoyer
2023-01-27 16:43 ` 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).