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 13, 2021
1 parent ae42684 commit 7bddada
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 @@ -490,6 +490,7 @@ let
, dontNpmInstall ? false
, bypassCache ? false
, reconstructLock ? false
, preRebuild ? ""
, dontStrip ? true
, unpackPhase ? "true"
, buildPhase ? "true"
Expand All @@ -507,7 +508,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 7bddada

Please sign in to comment.