'guix environment --container' silently rejects invalid --expose parameters

  • Done
  • quality assurance status badge
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
L
L
Ludovic Courtès wrote on 18 Apr 2016 11:46
(address . bug-guix@gnu.org)
87mvor8d1l.fsf@gnu.org
Passing a nonexistent file as --expose leads ‘guix environment’ to
silently fail:

Toggle snippet (7 lines)
$ guix environment --ad-hoc guile --expose=does-not-exist --container
guix environment: warning: ambiguous package specification `guile'
guix environment: warning: choosing guile-2.0.11 from gnu/packages/guile.scm:125:2
$ echo $?
1

It would be nice to print an error message.

Ludo’.
L
L
Ludovic Courtès wrote on 31 May 2016 00:11
(address . 23306@debbugs.gnu.org)
87eg8jci1y.fsf@gnu.org
Fixed in c06f6db7a424fd47e3cd2625dbfda2367316f3bd.

Ludo’.
L
L
Ludovic Courtès wrote on 31 May 2016 00:11
control message for bug #23306
(address . control@debbugs.gnu.org)
87d1o3ci1h.fsf@gnu.org
tags 23306 fixed
close 23306 0.10.1
?
Your comment

This issue is archived.

To comment on this conversation send an email to 23306@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 23306
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch