Update 'default.nix'
This commit is contained in:
parent
45b3a2fdaa
commit
98176397b5
11
default.nix
11
default.nix
@ -7,16 +7,17 @@
|
|||||||
, optipng
|
, optipng
|
||||||
, pngquant
|
, pngquant
|
||||||
, libwebp
|
, libwebp
|
||||||
, ...
|
|
||||||
}:
|
, pnpm2nix ? pkgs.callPackage (
|
||||||
let
|
|
||||||
pnpm2nix = pkgs.callPackage (
|
|
||||||
builtins.fetchGit {
|
builtins.fetchGit {
|
||||||
url = "https://github.com/nix-community/pnpm2nix.git";
|
url = "https://github.com/nix-community/pnpm2nix.git";
|
||||||
rev = "f67be0925a91b92f54d99dbdead7a06920b979ac";
|
rev = "f67be0925a91b92f54d99dbdead7a06920b979ac";
|
||||||
}
|
}
|
||||||
) {};
|
) {}
|
||||||
|
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
|
let
|
||||||
nodeCleanSourceFilter = name: type:
|
nodeCleanSourceFilter = name: type:
|
||||||
pkgs.lib.cleanSourceFilter name type
|
pkgs.lib.cleanSourceFilter name type
|
||||||
&& ((baseNameOf name) != "node_modules");
|
&& ((baseNameOf name) != "node_modules");
|
||||||
|
Loading…
Reference in New Issue
Block a user