'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
?