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