diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-04 22:06:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-04 23:30:52 +0200 |
commit | b07901c0cc5b36efdc92263ddeaa2be28cf2f398 (patch) | |
tree | b9c1902ba9ecc29697e5fb6fd58c444ee891ec63 /guix/scripts/package.scm | |
parent | 6568d2bd6e4e047dd95b00a7a6e7501a16491eb5 (diff) | |
download | gnu-guix-b07901c0cc5b36efdc92263ddeaa2be28cf2f398.tar gnu-guix-b07901c0cc5b36efdc92263ddeaa2be28cf2f398.tar.gz |
search-paths: Add 'environment-variable-definition'.
* guix/search-paths.scm (environment-variable-definition): New variable.
* guix/scripts/package.scm (search-path-environment-variables): Use it.
Diffstat (limited to 'guix/scripts/package.scm')
-rw-r--r-- | guix/scripts/package.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 933f7d8ee5..9e433dd191 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -384,7 +384,7 @@ current settings and report only settings not already effective." (append-map manifest-entry-search-paths entries)))) (filter-map (match-lambda ((variable . value) - (format #f "export ~a=\"~a\"" variable value))) + (environment-variable-definition variable value))) (evaluate-search-paths search-paths profile getenv)))) (define (display-search-paths entries profile) |