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 ? "" , 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;
} }