buildNpmPackage: forward pre/postPatch to fetchNpmDeps

This commit is contained in:
Sandro Jäckel
2022-11-25 15:47:05 -05:00
committed by Winter
parent 84477691f7
commit fde0382efd
@@ -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;
};