Skip to content

Commit

Permalink
Merge pull request #20 from gobengo/patch-3
Browse files Browse the repository at this point in the history
Allow overwriting default configurePhase, buildPhase
  • Loading branch information
nmattia authored Sep 10, 2020
2 parents 3b687c6 + db122e2 commit 1bd5ecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ let
npmCommands = pkgs.lib.concatStringsSep "\n" npmCommands;
buildInputs = newBuildInputs;

configurePhase = "export HOME=$(mktemp -d)";
configurePhase = attrs.configurePhase or "export HOME=$(mktemp -d)";

buildPhase = ''
buildPhase = attrs.buildPhase or ''
runHook preBuild
# TODO: why does the unpacker not set the sourceRoot?
Expand Down

0 comments on commit 1bd5ecc

Please sign in to comment.