nix-super/tests/lang/eval-okay-pathexists.nix
2006-10-17 11:08:59 +00:00

5 lines
258 B
Nix

builtins.pathExists (builtins.toPath ./lib.nix)
&& builtins.pathExists (builtins.toPath (builtins.toString ./lib.nix))
&& !builtins.pathExists (builtins.toPath (builtins.toString ./bla.nix))
&& builtins.pathExists ./lib.nix
&& !builtins.pathExists ./bla.nix