From d1000280fadac3e0314fc8823e6ba50ec13c302f Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 18 Sep 2019 14:11:23 +0200 Subject: [PATCH] Update find-files.nix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Domen Kožar --- find-files.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find-files.nix b/find-files.nix index adc11eb..463811b 100644 --- a/find-files.nix +++ b/find-files.nix @@ -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: