guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using 'system*' instead of 'system' in 'guix environment'


From: Taylan Ulrich Bayırlı/Kammer
Subject: Re: Using 'system*' instead of 'system' in 'guix environment'
Date: Thu, 08 Oct 2015 17:09:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

"Thompson, David" <address@hidden> writes:

> guix environment --ad-hoc guile -- sh -c "cd bar/; guile -c '(frob)'"

AFAIUI that's equivalent to

  guix environment --ad-hoc guile -E "cd bar/; guile -c '(frob)'"

(Or was the intent to deprecate -E?)

Therefore I'd agree that doing no string join in the '--' case is good,
since the string joining variant is already covered, for convenience, by
the '-E' variant.

However, the '(or (container-shell) "/bin/sh")' thing could be done for
the '-E' variant, no?

So we'd have the pure system* variant with '--', and the string joining
variant with '-E' which might pass the joined string to sh or to some
other shell.  (Though those shells will need to agree on the '-c' bit.)


Taylan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]