diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-07-09 10:44:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-07-11 00:52:36 +0200 |
commit | f03df3ee75d1209fb9782999bd04378c58e9f0f1 (patch) | |
tree | 38f3e7590cb02677c4e943e5fbf16cf915e54177 /guix/build | |
parent | 1dec269176fd809483a751da174c2d5ea66ed58a (diff) |
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.scm | 2 |
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)))))) |