Update 'default.nix'

This commit is contained in:
notgne2 2020-08-17 22:50:03 -07:00
parent 45b3a2fdaa
commit 98176397b5

View File

@ -7,16 +7,17 @@
, optipng
, pngquant
, libwebp
, ...
}:
let
pnpm2nix = pkgs.callPackage (
, pnpm2nix ? pkgs.callPackage (
builtins.fetchGit {
url = "https://github.com/nix-community/pnpm2nix.git";
rev = "f67be0925a91b92f54d99dbdead7a06920b979ac";
}
) {};
) {}
, ...
}:
let
nodeCleanSourceFilter = name: type:
pkgs.lib.cleanSourceFilter name type
&& ((baseNameOf name) != "node_modules");