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.
gn-latest-20200428
Ludovic Courtès 9 years ago
parent
commit
087602b687
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      guix/derivations.scm

+ 2
- 2
guix/derivations.scm View File

@ -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