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