aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-20 11:12:34 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-20 12:13:38 +0200
commit755e1147aa33d1c305bb9db6c5e03cf1063079fc (patch)
treea05946bcc5a9339443d52464fca7afb70f0e0e39
parent10f366e38a27bc2bff12bf2252887a5a627df9b6 (diff)
downloadguix-755e1147aa33d1c305bb9db6c5e03cf1063079fc.tar
guix-755e1147aa33d1c305bb9db6c5e03cf1063079fc.tar.gz
guix package: --search-paths mentions $PATH.
* guix/scripts/package.scm (search-path-environment-variables): Add $PATH to SEARCH-PATHS.
-rw-r--r--guix/scripts/package.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 15f3e13cc1..300af681c2 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -381,7 +381,9 @@ an output path different than CURRENT-PATH."
ENTRIES, a list of manifest entries, in PROFILE. Use GETENV to determine the
current settings and report only settings not already effective."
(let ((search-paths (delete-duplicates
- (append-map manifest-entry-search-paths entries))))
+ (cons $PATH
+ (append-map manifest-entry-search-paths
+ entries)))))
(filter-map (match-lambda
((spec . value)
(let ((variable (search-path-specification-variable spec))