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.
This commit is contained in:
Ludovic Courtès 2012-06-07 01:51:24 +02:00
parent fd96bc05c2
commit 087602b687
1 changed files with 2 additions and 2 deletions

View File

@ -290,8 +290,8 @@ known in advance, such as a file download."
(fold-right (lambda (output-name env-vars) (fold-right (lambda (output-name env-vars)
(if (assoc output-name env-vars) (if (assoc output-name env-vars)
env-vars env-vars
(alist-cons output-name "" env-vars))) (append env-vars `((,output-name . "")))))
'() e
outputs))) outputs)))
(let* ((outputs (map (lambda (name) (let* ((outputs (map (lambda (name)