Turn the coverage analysis stdenv adapters into setup hooks

Stdenv adapters are kinda weird and un-idiomatic (especially when they
don't actually change stdenv).  It's more idiomatic to say

  buildInputs = [ makeCoverageAnalysisReport ];
This commit is contained in:
Eelco Dolstra
2014-02-05 19:18:33 +01:00
parent bea2b3c517
commit 80647127a3
7 changed files with 45 additions and 52 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ rec {
} // args);
coverageAnalysis = args: nixBuild (
{ inherit lcov;
{ inherit lcov enableCoverageInstrumentation makeCoverageAnalysisReport;
doCoverageAnalysis = true;
} // args);