summary refs log tree commit diff
path: root/tests/lang/eval-okay-pathexists.nix
blob: 50c28ee0cd30b5fb247b91d626017e9741ff6460 (plain) (blame)
1
2
3
4
5
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