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.master
parent
fd96bc05c2
commit
087602b687
|
@ -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)
|
||||
|
|
Reference in New Issue