diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-06-07 01:51:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-06-07 01:51:24 +0200 |
commit | 087602b687e28483923643b89490c2fd3b4d908b (patch) | |
tree | 7b813648109956ab170daf23ecca21c8d2f6e835 | |
parent | fd96bc05c2153055075bfe483be442d630d562f9 (diff) | |
download | guix-087602b687e28483923643b89490c2fd3b4d908b.tar.gz |
Fix the order of environment variables in `derivation'.
* guix/derivations.scm (derivation)[env-vars-with-empty-outputs]: Prepend new environment variables (as expected by Nix), and add them to E.
-rw-r--r-- | guix/derivations.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/derivations.scm b/guix/derivations.scm index b13664ce05..151bff7215 100644 --- a/guix/derivations.scm +++ b/guix/derivations.scm @@ -290,8 +290,8 @@ known in advance, such as a file download." (fold-right (lambda (output-name env-vars) (if (assoc output-name env-vars) env-vars - (alist-cons output-name "" env-vars))) - '() + (append env-vars `((,output-name . ""))))) + e outputs))) (let* ((outputs (map (lambda (name) |