forked from mirrors/nixpkgs
* nix-build.nix: omit phases and define postPhases, suggested by eelco
svn path=/nixpkgs/trunk/; revision=19203
This commit is contained in:
parent
67d7f430e2
commit
db6f4ee89c
|
@ -22,7 +22,8 @@ stdenv.mkDerivation (
|
|||
|
||||
showBuildStats = true;
|
||||
|
||||
phases = "unpackPhase patchPhase configurePhase buildPhase checkPhase installPhase fixupPhase distPhase ${if doCoverageAnalysis then "coverageReportPhase" else ""} finalPhase";
|
||||
postPhases =
|
||||
(optional doCoverageAnalysis "coverageReportPhase") ++ ["finalPhase"];
|
||||
|
||||
finalPhase =
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue