1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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