aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-05 13:55:03 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-05 15:13:58 +0200
commit369149995cd4cedc59f1576a23c4df432e682402 (patch)
tree0cc30ed32dc729743ee9132cb4dd012e7254f323 /guix/scripts
parentc4e8d513f2048bd7ca3b57c73c2b217a349e7b46 (diff)
downloadgnu-guix-369149995cd4cedc59f1576a23c4df432e682402.tar
gnu-guix-369149995cd4cedc59f1576a23c4df432e682402.tar.gz
search-paths: 'evaluate-search-paths' can be passed a list of directories.
* guix/search-paths.scm (evaluate-search-paths): Change 'directory' to 'directories', and adjust 'search-path-as-list' accordingly. * guix/scripts/package.scm (search-path-environment-variables): Adjust call accordingly.
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/package.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 7f53af772f..15f3e13cc1 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -389,7 +389,8 @@ current settings and report only settings not already effective."
;; TODO: Offer the choice between exact/prefix/suffix.
(environment-variable-definition variable value
#:separator sep))))
- (evaluate-search-paths search-paths profile getenv))))
+ (evaluate-search-paths search-paths (list profile)
+ getenv))))
(define (display-search-paths entries profile)
"Display the search path environment variables that may need to be set for