"Thompson, David" <dthomps...@worcester.edu> 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