diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-07 04:06:03 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-07 00:43:51 -0700 |
commit | b14f88e0d46c61280a69da9559cf54cbce058eb5 (patch) | |
tree | 7b1c0be985b3f1aa7ae86ee1727d7a08c36c11a5 /tests/functional/lang/eval-okay-pathexists.nix | |
parent | 1342c8f18e48afd1577cfdc319c254ce7c42637e (diff) |
Merge pull request #9985 from alois31/symlink-resolution
Restore `builtins.pathExists` behavior on broken symlinks
(cherry picked from commit d53c8901ef7f2033855dd99063522e3d56a19dab)
===
note that this variant differs markedly from the source commit because
we haven't endured quite as much lazy trees.
Change-Id: I0facf282f21fe0db4134be5c65a8368c1b3a06fc
Diffstat (limited to 'tests/functional/lang/eval-okay-pathexists.nix')
-rw-r--r-- | tests/functional/lang/eval-okay-pathexists.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-okay-pathexists.nix b/tests/functional/lang/eval-okay-pathexists.nix index c5e7a62de..99253d764 100644 --- a/tests/functional/lang/eval-okay-pathexists.nix +++ b/tests/functional/lang/eval-okay-pathexists.nix @@ -27,3 +27,6 @@ builtins.pathExists (./lib.nix) && !builtins.pathExists (builtins.toPath (builtins.toString ./bla.nix)) && builtins.pathExists ./lib.nix && !builtins.pathExists ./bla.nix +&& builtins.pathExists ./symlink-resolution/foo/overlays/overlay.nix +&& builtins.pathExists ./symlink-resolution/broken +&& builtins.pathExists (builtins.toString ./symlink-resolution/foo/overlays + "/.") |