diff --git a/flake.nix b/flake.nix index e9e17bc..32749a3 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,13 @@ in (type == "regular") && (builtins.elem bname names); + noFlakeSrc = src: + pkgs.lib.cleanSourceWith { + inherit src; + filter = path: type: + !(baseNameOf path == "flake.nix" || baseNameOf path == "flake.lock" || baseNameOf path == "mime.types"); + }; + mkNpSrc = src: pkgs.lib.cleanSourceWith { inherit src;