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
(type == "regular") && (builtins.elem bname names);
npSrc = pkgs.lib.cleanSourceWith {
filter = name: type:
(type == "directory") || (naiveFilter ["package.json" "yarn.lock"] name type);
src = ./.;
};
mkNpSrc = src:
pkgs.lib.cleanSourceWith {
inherit src;
filter = name: type:
(type == "directory") || (naiveFilter ["package.json" "yarn.lock"] name type);
};
mimeTypes = pkgs.concatTextFile {
name = "mime.types";
files = [./mime.types];