This commit is contained in:
Ivan Malison 2024-11-21 22:51:31 -07:00
parent 4128d8b9cd
commit 37782b8f48

View File

@ -23,11 +23,12 @@
in in
(type == "regular") && (builtins.elem bname names); (type == "regular") && (builtins.elem bname names);
npSrc = pkgs.lib.cleanSourceWith { mkNpSrc = src:
filter = name: type: pkgs.lib.cleanSourceWith {
(type == "directory") || (naiveFilter ["package.json" "yarn.lock"] name type); inherit src;
src = ./.; filter = name: type:
}; (type == "directory") || (naiveFilter ["package.json" "yarn.lock"] name type);
};
mimeTypes = pkgs.concatTextFile { mimeTypes = pkgs.concatTextFile {
name = "mime.types"; name = "mime.types";
files = [./mime.types]; files = [./mime.types];