From 087602b687e28483923643b89490c2fd3b4d908b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 7 Jun 2012 01:51:24 +0200 Subject: 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. --- guix/derivations.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/derivations.scm b/guix/derivations.scm index b13664ce05..151bff7215 100644 --- a/guix/derivations.scm +++ b/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) -- cgit v1.2.3