all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: guix-devel@gnu.org
Subject: Re: Installing multiple packages at once
Date: Sun, 22 Sep 2013 23:08:03 +0200	[thread overview]
Message-ID: <523F5C33.7060304@gmail.com> (raw)
In-Reply-To: <87r4cg4kl7.fsf@gnu.org>

On 09/22/2013 11:23 PM, Ludovic Courtès wrote:
> Nikita Karetnikov <nikita@karetnikov.org> skribis:
>
>> Someone on IRC said that they would prefer to write ‘-i foo bar baz’
>> instead of ‘-i foo -i bar -i baz’.  Should we change this or allow both
>> variants?  And how hard would it be?
>
> Currently -i takes an argument, hence this syntax.
>
> What would be the syntax?  Remember we want to allow users to both
> install and remove packages in a single transaction, as in:
>
>    guix package -r bigloo -r hop -i guile -i racket
>
> We could imagine something like:
>
>    guix package -r bigloo hop -i guile racket
>
> but I don’t think SRFI-37 allows us to know that ‘bigloo’ and ‘hop’
> occurred after ‘-r’ whereas the others occurred after ‘-i’.  And I don’t
> really like the syntax.
>
> In short, while open to suggestions, I’m mostly in favor of the
> status quo.  :-)
>

Could we use:

guix package -i foo,bar

?

Cyril.

  reply	other threads:[~2013-09-22 21:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-22 20:26 Installing multiple packages at once Nikita Karetnikov
2013-09-22 21:23 ` Ludovic Courtès
2013-09-22 21:08   ` Cyril Roelandt [this message]
2013-09-22 21:53 ` Mark H Weaver
2013-09-22 22:21   ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=523F5C33.7060304@gmail.com \
    --to=tipecaml@gmail.com \
    --cc=guix-devel@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.