buildNpmPackage: forward pre/postPatch to fetchNpmDeps

This commit is contained in:
Sandro Jäckel
2022-11-19 06:31:18 +01:00
committed by Winter
parent 8784305f8d
commit 4698fe1f97

View File

@@ -4,7 +4,9 @@
, src ? null
, srcs ? null
, sourceRoot ? null
, prePatch ? ""
, patches ? [ ]
, postPatch ? ""
, nativeBuildInputs ? [ ]
, buildInputs ? [ ]
# The output hash of the dependencies for this project.
@@ -30,7 +32,7 @@
let
npmDeps = fetchNpmDeps {
inherit src srcs sourceRoot patches;
inherit src srcs sourceRoot prePatch patches postPatch;
name = "${name}-npm-deps";
hash = npmDepsHash;
};