buildNpmPackage: pass down patchFlags to fetchNpmDeps (#350761)

This commit is contained in:
Sandro 2024-11-05 15:49:50 +01:00 committed by GitHub
commit 0168c4f291
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}