about summary refs log tree commit diff
path: root/tests/lang/eval-okay-search-path.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-08-06T17·48+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-08-06T17·48+0000
commitc7101dac0bd2631e50846194fc841ef5ef77461f (patch)
tree597a2058c70f6000ade9f2f48ef9e998f70ce762 /tests/lang/eval-okay-search-path.nix
parent1578b2261d28003c8c1459041302e1f3c1921c43 (diff)
* Allow redirections in search path entries. E.g. if you have a
  directory

    /home/eelco/src/stdenv-updates

  that you want to use as the directory for import such as

    with (import <nixpkgs> { });

  then you can say

    $ nix-build -I nixpkgs=/home/eelco/src/stdenv-updates

Diffstat (limited to 'tests/lang/eval-okay-search-path.nix')
-rw-r--r--tests/lang/eval-okay-search-path.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-search-path.nix b/tests/lang/eval-okay-search-path.nix
index cc1df08f0185..02920149b5be 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 <a.nix> + import <b.nix> + import <c.nix> + import <dir5/c.nix>