unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: 52093-done@debbugs.gnu.org
Subject: bug#52093: Incorrect argument handling in "guix shell"
Date: Fri, 10 Dec 2021 23:28:24 +0100	[thread overview]
Message-ID: <875yrw6qnr.fsf@gnu.org> (raw)
In-Reply-To: <m1ilwgu0pr.fsf@fastmail.net> (Konrad Hinsen's message of "Thu, 25 Nov 2021 08:57:20 +0100")

Hi Konrad,

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

> The following session illustrates that the -D option to "guix shell" is
> erroneously applied to *two* package arguments rather than just one if
> the first package argument takes the form of a file.
>
> The file "empty-package.scm" is attached, it defines an empty package
> with no inputs. The environment defined by the command below should thus
> contain only "hello" and "bash", plus the run-time dependencies of
> "bash". Instead, it contains the build dependencies of "hello".
>
> $ guix shell --container -D -f empty-package.scm hello

Oops, fixed in 71977101218d1fd5d7f5016cbbcb8710be057d49.

Thanks!

Ludo’.




      reply	other threads:[~2021-12-10 22:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25  7:57 bug#52093: Incorrect argument handling in "guix shell" Konrad Hinsen
2021-12-10 22:28 ` Ludovic Courtès [this message]

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=875yrw6qnr.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=52093-done@debbugs.gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /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).