mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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:
parent
fd96bc05c2
commit
087602b687
1 changed files with 2 additions and 2 deletions
|
@ -290,8 +290,8 @@ (define (env-vars-with-empty-outputs)
|
||||||
(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)
|
||||||
|
|
Loading…
Reference in a new issue