releaseTools.nixBuild: Perform checkPhase' before installPhase'.

svn path=/nixpkgs/trunk/; revision=18634
This commit is contained in:
Ludovic Courtès 2009-11-25 23:15:18 +00:00
parent 46526b4ac9
commit f5236b1e0d

View File

@ -22,8 +22,7 @@ stdenv.mkDerivation (
showBuildStats = true;
# Hack - swap checkPhase and installPhase (otherwise Stratego barfs).
phases = "unpackPhase patchPhase configurePhase buildPhase installPhase checkPhase fixupPhase distPhase ${if doCoverageAnalysis then "coverageReportPhase" else ""} finalPhase";
phases = "unpackPhase patchPhase configurePhase buildPhase checkPhase installPhase fixupPhase distPhase ${if doCoverageAnalysis then "coverageReportPhase" else ""} finalPhase";
finalPhase =
''