2014-05-26 12:55:47 +00:00
|
|
|
with import ./lib.nix;
|
|
|
|
with builtins;
|
|
|
|
|
2020-12-22 13:43:20 +00:00
|
|
|
assert isFunction (import <nix/fetchurl.nix>);
|
2014-05-26 12:55:47 +00:00
|
|
|
|
2020-12-22 13:43:20 +00:00
|
|
|
assert length __nixPath == 5;
|
2014-07-30 09:27:34 +00:00
|
|
|
assert length (filter (x: baseNameOf x.path == "dir4") __nixPath) == 1;
|
2011-08-06 16:05:24 +00:00
|
|
|
|
2011-08-06 18:23:38 +00:00
|
|
|
import <a.nix> + import <b.nix> + import <c.nix> + import <dir5/c.nix>
|
2014-07-30 09:27:34 +00:00
|
|
|
+ (let __nixPath = [ { path = ./dir2; } { path = ./dir1; } ]; in import <a.nix>)
|