Allow builtins.pathExists to check the existence of /nix/store paths
This makes it consitent with builtins.readDir.
This commit is contained in:
parent
41a5246685
commit
89865144c3
2 changed files with 12 additions and 3 deletions
|
|
@ -10,7 +10,10 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
value = import bar;
|
||||
value =
|
||||
# Test that pathExists can check the existence of /nix/store paths
|
||||
assert builtins.pathExists bar;
|
||||
import bar;
|
||||
|
||||
in
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue