diff --git a/default.nix b/default.nix index 548b7f3..f52045d 100644 --- a/default.nix +++ b/default.nix @@ -4,5 +4,10 @@ let in { inherit (find-files) gitignoreFilter; - gitignoreSource = p: lib.cleanSourceWith { filter = find-files.gitignoreFilter p; src = p; }; + + gitignoreSource = path: builtins.path { + name = "source"; + filter = find-files.gitignoreFilter path; + inherit path; + }; }