tvl-depot/third_party/nix/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