guix-devel/guix
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 build-system/cmake: Build out of source tree by default. 2013-11-28 00:15:07 +01:00
build-system build-system/perl: Honour phases argument in perl build system. 2013-12-09 13:50:58 +01:00
scripts guix package: allow multiple arguments after -i, -r, and -u. 2013-12-14 16:25:02 -05:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
build-system.scm Move record utilities to (guix records). 2013-05-12 15:46:16 +02:00
config.scm.in substitute-binary: Implement `--substitute'. 2013-04-12 21:58:47 +02:00
derivations.scm derivations: Use more keyword parameters for 'build-expression->derivation'. 2013-12-04 16:07:53 +01:00
download.scm derivations: Use more keyword parameters for 'build-expression->derivation'. 2013-12-04 16:07:53 +01:00
ftp-client.scm ftp-client: Let callers handle `ftp-open' exceptions. 2013-05-14 23:51:36 +02:00
gnu-maintenance.scm gnu-maintenance: Ignore "redirect" blurbs. 2013-12-03 21:33:55 +01:00
gnupg.scm guix refresh: Add '--key-download'. 2013-06-10 08:15:17 +00:00
hash.scm hash: Add `open-sha256-port'. 2013-07-02 22:38:03 +02:00
http-client.scm utils: Add `guile-version>?', and use it. 2013-08-23 15:51:36 +02:00
licenses.scm licenses: Add 'agpl3' and 'agpl3+'. 2013-06-03 11:39:38 +00:00
monads.scm gnu: Add (gnu system). 2013-12-10 00:24:02 +01:00
nar.scm nar: Fix file descriptor leak when writing a Nar. 2013-09-23 00:33:50 +02:00
packages.scm derivations: Use more keyword parameters for 'build-expression->derivation'. 2013-12-04 16:07:53 +01:00
profiles.scm derivations: Use more keyword parameters for 'build-expression->derivation'. 2013-12-04 16:07:53 +01:00
records.scm records: define-record-type*: Field bindings are bound with 'let*'. 2013-10-15 23:31:22 +02:00
serialization.scm Add (guix nar) and (guix serialization). 2013-04-12 21:57:58 +02:00
snix.scm snix: Prefer descriptions from the Womb rather than from Nixpkgs. 2013-10-09 16:18:23 +02:00
store.scm store: Optimize 'store-path-package-name' and 'store-path-hash-part'. 2013-12-11 00:19:27 +01:00
ui.scm guix build: '-e' can be passed a monadic thunk. 2013-11-18 23:08:20 +01:00
utils.scm utils: Add 'string-replace-substring'. 2013-11-13 00:29:05 +01:00