From db6f4ee89cb1ca6dabdb63a42a3f622dd24078a3 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 4 Jan 2010 12:44:34 +0000 Subject: [PATCH] * nix-build.nix: omit phases and define postPhases, suggested by eelco svn path=/nixpkgs/trunk/; revision=19203 --- pkgs/build-support/release/nix-build.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/release/nix-build.nix b/pkgs/build-support/release/nix-build.nix index 1d88836c2c8..a44ef6645a9 100644 --- a/pkgs/build-support/release/nix-build.nix +++ b/pkgs/build-support/release/nix-build.nix @@ -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 = ''