guix package: '--search-paths' can report combined search paths.
authorLudovic Courtès <ludo@gnu.org>
Tue, 10 Nov 2015 21:00:53 +0000 (22:00 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 10 Nov 2015 23:37:50 +0000 (00:37 +0100)
commitfc2d2339644b408574f0ead4436e751fa423a7e6
tree2c5875eed1bad42d8f81a11ce8b49ff203fe09d7
parent21059b26b070d6064202272982392a299f09b6e4
guix package: '--search-paths' can report combined search paths.

Partly fixes <http://bugs.gnu.org/20255>.

* guix/scripts/package.scm (search-path-environment-variables): Change
  'profile' to 'profiles'; expect it to be a list.
  (display-search-paths): Likewise.
  (%default-options): Remove 'profile' entry.
  (%options) <--profile>: Keep previous values associated with 'profile'
  in RESULT.
  (guix-package)[process-actions, process-query]: Handle the possible
  lack of 'profile' pair in OPTS.
doc/guix.texi
guix/scripts/package.scm
tests/guix-package-net.sh