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

View File

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