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