guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing multiple packages at once


From: Ludovic Courtès
Subject: Re: Installing multiple packages at once
Date: Sun, 22 Sep 2013 23:23:16 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> 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.  :-)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]