From: ludo@gnu.org (Ludovic Courtès)
To: 23306@debbugs.gnu.org
Subject: bug#23306: 'guix environment --container' silently rejects invalid --expose parameters
Date: Mon, 18 Apr 2016 11:46:30 +0200 [thread overview]
Message-ID: <87mvor8d1l.fsf@gnu.org> (raw)
Passing a nonexistent file as --expose leads ‘guix environment’ to
silently fail:
--8<---------------cut here---------------start------------->8---
$ 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
--8<---------------cut here---------------end--------------->8---
It would be nice to print an error message.
Ludo’.
next reply other threads:[~2016-04-18 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-18 9:46 Ludovic Courtès [this message]
2016-05-30 22:11 ` bug#23306: 'guix environment --container' silently rejects invalid --expose parameters Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mvor8d1l.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=23306@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).