mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
buildNpmPackage: pass down patchFlags to fetchNpmDeps (#350761)
This commit is contained in:
commit
0168c4f291
@ -13,6 +13,7 @@
|
||||
, prePatch ? ""
|
||||
, patches ? [ ]
|
||||
, postPatch ? ""
|
||||
, patchFlags ? []
|
||||
, nativeBuildInputs ? [ ]
|
||||
, buildInputs ? [ ]
|
||||
# The output hash of the dependencies for this project.
|
||||
@ -45,7 +46,7 @@
|
||||
, npmWorkspace ? null
|
||||
, nodejs ? topLevelArgs.nodejs
|
||||
, npmDeps ? fetchNpmDeps {
|
||||
inherit forceGitDeps forceEmptyCache src srcs sourceRoot prePatch patches postPatch;
|
||||
inherit forceGitDeps forceEmptyCache src srcs sourceRoot prePatch patches postPatch patchFlags;
|
||||
name = "${name}-npm-deps";
|
||||
hash = npmDepsHash;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user