diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-05 13:57:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-05 15:13:58 +0200 |
commit | fdfa753c69acb00e4d79ee82f8772bde3e1a6cd6 (patch) | |
tree | 6bcd3aad6ea8fc495c9a7cb802f8e70d99ffbe43 /guix/scripts | |
parent | 369149995cd4cedc59f1576a23c4df432e682402 (diff) |
search-paths: Define the 'PATH' environment variable.
* guix/search-paths.scm ($PATH): New variable.
* guix/scripts/environment.scm (for-each-search-path): Use it.
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/environment.scm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm index b40750083c..36d7beb348 100644 --- a/guix/scripts/environment.scm +++ b/guix/scripts/environment.scm @@ -57,9 +57,7 @@ path value is appended." (if (and current (not pure?)) (string-append value separator current) value))))) - (cons* (search-path-specification - (variable "PATH") - (files '("bin" "sbin"))) + (cons* $PATH (delete-duplicates (append-map package-native-search-paths inputs)))))) |