Skip to content

Commit

Permalink
develop: fix phases when overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
tomberek committed Feb 19, 2022
1 parent 9bc03ad commit c03252c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nix/develop.cc
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ struct CmdDevelop : Common, MixEnvironment
// FIXME: foundMakefile is set by buildPhase, need to get
// rid of that.
script += fmt("foundMakefile=1\n");
script += fmt("runHook %1%Phase\n", *phase);
script += fmt("eval \"${%1%Phase:-%1%Phase}\"\n", *phase);
}

else if (!command.empty()) {
Expand Down

0 comments on commit c03252c

Please sign in to comment.