guix package: Add optional argument to --search-paths.
authorLudovic Courtès <ludo@gnu.org>
Wed, 20 May 2015 09:52:45 +0000 (11:52 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 20 May 2015 10:13:39 +0000 (12:13 +0200)
commitdbc31ab25c355eae373e1766b4a77fccbe462bf3
treebadd7863749d9f3783eae95a33751abf0bfe0857
parent755e1147aa33d1c305bb9db6c5e03cf1063079fc
guix package: Add optional argument to --search-paths.

* guix/scripts/package.scm (search-path-environment-variables): Add #:kind
  parameter.  Pass it to 'environment-variable-definition'.
  (display-search-paths): Add #:kind parameter and pass it to
  'search-path-environment-variables'.
  (%options): Add an optional parameter for "--search-paths".
  (guix-package)[process-query]: Handle it.
* tests/guix-package-net.sh: Adjust existing test.
* tests/guix-package.sh: Adjust existing tests and add new test.
* doc/guix.texi (Invoking guix package): Document it.
doc/guix.texi
guix/scripts/package.scm
tests/guix-package-net.sh
tests/guix-package.sh