Remove more files from the src filter

This commit is contained in:
Christopher Chalmers 2020-05-31 13:58:59 +01:00
parent f2ce033d30
commit 16d7b8e371

View File

@ -8,6 +8,9 @@ let filterSource = with lib; builtins.filterSource (path: type:
baseNameOf path != "target" &&
baseNameOf path != "result" &&
baseNameOf path != ".git" &&
baseNameOf path != ".gitignore" &&
baseNameOf path != ".github" &&
!(hasSuffix ".nix" path) &&
(baseNameOf path == "build" -> type != "directory") &&
(baseNameOf path == "nix" -> type != "directory")
);