diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-09-01 13:35:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-01 13:35:05 +0200 |
commit | 919781cacc3a1d035097ccbd6697a7ba7756124c (patch) | |
tree | b4856d3836ddecd8f5f28bafc4feda8182f558ae /tests/lang/eval-okay-pathexists.nix | |
parent | 925a444b925590df90e19d3c0071936f87d2b43d (diff) | |
parent | b88784278fcd5c2d0bec077d6baaa0ec3f71b28f (diff) |
Merge branch 'master' into valid_deriver_2
Diffstat (limited to 'tests/lang/eval-okay-pathexists.nix')
-rw-r--r-- | tests/lang/eval-okay-pathexists.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-pathexists.nix b/tests/lang/eval-okay-pathexists.nix index 50c28ee0c..e1246e370 100644 --- a/tests/lang/eval-okay-pathexists.nix +++ b/tests/lang/eval-okay-pathexists.nix @@ -1,4 +1,7 @@ -builtins.pathExists (builtins.toPath ./lib.nix) +builtins.pathExists (./lib.nix) +&& builtins.pathExists (builtins.toPath ./lib.nix) +&& builtins.pathExists (builtins.toString ./lib.nix) +&& !builtins.pathExists (builtins.toString ./lib.nix + "/") && builtins.pathExists (builtins.toPath (builtins.toString ./lib.nix)) && !builtins.pathExists (builtins.toPath (builtins.toString ./bla.nix)) && builtins.pathExists ./lib.nix |