1
0
Fork 0
forked from lix-project/lix
lix/tests/lang/eval-okay-pathexists.nix

6 lines
258 B
Nix
Raw Normal View History

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