tvl-depot/third_party/nix/tests/lang/eval-okay-pathexists.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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