summaryrefslogtreecommitdiff
path: root/guix/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-07-09 10:44:36 +0200
committerLudovic Courtès <ludo@gnu.org>2018-07-11 00:52:36 +0200
commitf03df3ee75d1209fb9782999bd04378c58e9f0f1 (patch)
tree38f3e7590cb02677c4e943e5fbf16cf915e54177 /guix/build
parent1dec269176fd809483a751da174c2d5ea66ed58a (diff)
downloadgnu-guix-f03df3ee75d1209fb9782999bd04378c58e9f0f1.tar
gnu-guix-f03df3ee75d1209fb9782999bd04378c58e9f0f1.tar.gz
profiles: Factorize 'manifest-search-paths'.
* guix/profiles.scm (manifest-search-paths): New procedure. (profile-derivation)[builder]: Use it. * guix/build/profiles.scm (build-etc/profile): Remove $PATH.
Diffstat (limited to 'guix/build')
-rw-r--r--guix/build/profiles.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/profiles.scm b/guix/build/profiles.scm
index 819688a913..df785c85a7 100644
--- a/guix/build/profiles.scm
+++ b/guix/build/profiles.scm
@@ -89,7 +89,7 @@ definitions for all the SEARCH-PATHS."
# When GUIX_PROFILE is undefined, the various environment variables refer
# to this specific profile generation.
\n" port)
- (let ((variables (evaluate-search-paths (cons $PATH search-paths)
+ (let ((variables (evaluate-search-paths search-paths
(list output))))
(for-each (write-environment-variable-definition port)
(map (abstract-profile output) variables))))))