summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-06-09 21:50:30 +0200
committerLudovic Courtès <ludo@gnu.org>2012-06-09 21:50:30 +0200
commitaf7f9e5f13106ccfd6c9144e40dff5071672b195 (patch)
tree8e6d89b613241d497bbf0e1f30f981a8b6043f42 /tests
parent26b969dee0d1abb92b44998dc573dad79b76d4cd (diff)
downloadguix-af7f9e5f13106ccfd6c9144e40dff5071672b195.tar.gz
Sort environment variables alphabetically in `derivation'.
* guix/derivations.scm (derivation)[env-vars-with-empty-outputs]: Sort
  the result alphabetically.

* tests/derivations.scm ("build derivation with 1 source"): Add
  environment variables.
Diffstat (limited to 'tests')
-rw-r--r--tests/derivations.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/derivations.scm b/tests/derivations.scm
index 34098d79ca..dd4f9ee254 100644
--- a/tests/derivations.scm
+++ b/tests/derivations.scm
@@ -59,7 +59,9 @@
                 ((drv-path drv)
                  (derivation %store "foo" "x86_64-linux"
                              "/bin/sh" `(,builder)
-                             '(("HOME" . "/homeless"))
+                             '(("HOME" . "/homeless")
+                               ("zzz"  . "Z!")
+                               ("AAA"  . "A!"))
                              `((,builder))))
                 ((succeeded?)
                  (build-derivations %store (list drv-path))))