Commit fde0382e authored by Sandro Jäckel's avatar Sandro Jäckel Committed by Winter
Browse files

buildNpmPackage: forward pre/postPatch to fetchNpmDeps

parent 84477691
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
  };