lix-releng-staging/tests/lang/eval-okay-pathexists.nix
Eelco Dolstra 0e705391db * Primop `toPath' to convert a string to a path.
* Primop `pathExists' to check for path existence.
2006-09-24 18:23:32 +00:00

4 lines
115 B
Nix

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