guix-devel/guix/scripts
Mark H Weaver 6447738c01 guix package: allow multiple arguments after -i, -r, and -u.
* guix/scripts/package.scm (%options): Adapt option processors to accept and
  return a second seed value: 'arg-handler', which handles bare arguments (if
  not false).  The install, remove, and upgrade option processors return an
  arg-handler that repeat the same operation.  All other option processors
  return #f as the arg-handler.  Make the arguments to install and remove
  optional.  The upgrade option processor deletes (upgrade . #f) from the
  alist before adding a new entry.
  (guix-package): Procedures passed to 'args-fold*' accept the new seed value
  'arg-handler'.  The 'operand-proc' uses 'arg-handler' (if not false).

* doc/guix.texi (Invoking guix package): Update docs.

* tests/guix-package.sh: Add test.
2013-12-14 16:25:02 -05:00
..
build.scm guix build: '-e' can be passed a monadic thunk. 2013-11-18 23:08:20 +01:00
download.scm Use `port-sha256' and `open-sha256-port'. 2013-07-03 01:18:24 +02:00
gc.scm guix gc: Add `--requisites'. 2013-06-13 22:15:41 +02:00
hash.scm Move `sha256' to (guix hash). 2013-07-01 23:28:21 +02:00
import.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
package.scm guix package: allow multiple arguments after -i, -r, and -u. 2013-12-14 16:25:02 -05:00
pull.scm pull: Compile guix/ files before gnu/ files. 2013-12-14 16:48:38 +01:00
refresh.scm guix refresh: Keep only the newest versions of packages as upgrade candidates. 2013-07-11 19:56:30 +02:00
substitute-binary.scm substitute-binary: Work around Guile 2.0.5's broken 'n-par-map'. 2013-11-26 22:20:39 +01:00