[Nix-dev] Re: [Nix-commits] SVN commit: nix - 19202 - rob - nixpkgs/trunk/pkgs/build-support/release
Eelco Dolstra
e.dolstra at tudelft.nl
Mon Jan 4 13:27:01 CET 2010
Hi,
Rob Vermaas wrote:
> - 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";
Since this is almost the default "phases" value, it should be possible to omit
"phases" and say:
postPhases =
(optional doCoverageAnalysis "coverageReportPhase") ++ ["finalPhase"];
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list