Update find-files.nix

Co-Authored-By: Domen Kožar <domen@dev.si>
This commit is contained in:
Robert Hensing 2019-09-18 14:11:23 +02:00 committed by GitHub
parent 0bd9291f56
commit d1000280fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@ rec {
# - to help lorri and possibly other tools that monitor which paths are read
# during evaluation
isForbiddenDir = p:
p == builtins.storePath || p == "/";
p == builtins.storeDir || p == "/";
# TODO: only readDir lazily for the .git type. Rest can be done efficiently with pathExists
inspectDir = dirPath: