3
0
Fork 0
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:
Rob Vermaas 2010-01-04 12:44:34 +00:00
parent 67d7f430e2
commit db6f4ee89c

View file

@ -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 =
''