Browse Source

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.
version-0.8.3
Ludovic Courtès 10 years ago
parent
commit
087602b687
  1. 4
      guix/derivations.scm

4
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)

Loading…
Cancel
Save