about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-08-06T18·23+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-08-06T18·23+0000
commit07340b8be742e08f1a000475eb1f389d5525d6c8 (patch)
tree8a8b8f93bb91d1786807de1b87638688a9f4e3c9 /tests
parentc7101dac0bd2631e50846194fc841ef5ef77461f (diff)
* Add the Nix corepkgs to the end of the search path. This makes it
  possible for other Nix expressions to use corepkgs (mostly useful
  for the buildenv function).

Diffstat (limited to 'tests')
-rw-r--r--tests/lang/eval-okay-search-path.nix4
-rw-r--r--tests/lang/eval-okay-search-path.out2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/lang/eval-okay-search-path.nix b/tests/lang/eval-okay-search-path.nix
index 02920149b5..21485dbbf6 100644
--- a/tests/lang/eval-okay-search-path.nix
+++ b/tests/lang/eval-okay-search-path.nix
@@ -1,3 +1,3 @@
-import <a.nix> + import <b.nix> + import <c.nix> + import <dir5/c.nix>
-
+assert builtins.pathExists <nix/buildenv>;
 
+import <a.nix> + import <b.nix> + import <c.nix> + import <dir5/c.nix>
diff --git a/tests/lang/eval-okay-search-path.out b/tests/lang/eval-okay-search-path.out
index d1cc1b4e52..d0bc8c5e86 100644
--- a/tests/lang/eval-okay-search-path.out
+++ b/tests/lang/eval-okay-search-path.out
@@ -1 +1 @@
-"abc"
+"abcc"