Skip to content

Commit

Permalink
Expose preRebuild hook in buildNodeDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Oct 28, 2021
1 parent 964975b commit 705317b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/node-env.nix
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ let
, dontNpmInstall ? false
, bypassCache ? false
, reconstructLock ? false
, preRebuild ? ""
, dontStrip ? true
, unpackPhase ? "true"
, buildPhase ? "true"
Expand All @@ -510,7 +511,7 @@ let
++ buildInputs;

inherit dontStrip; # Stripping may fail a build for some package deployments
inherit dontNpmInstall unpackPhase buildPhase;
inherit dontNpmInstall preRebuild unpackPhase buildPhase;

includeScript = includeDependencies { inherit dependencies; };
pinpointDependenciesScript = pinpointDependenciesOfPackage args;
Expand Down

0 comments on commit 705317b

Please sign in to comment.