forked from lix-project/lix
36 lines
530 B
Nix
36 lines
530 B
Nix
{ lib
|
|
, releaseTools
|
|
, nix
|
|
, stdenv
|
|
}:
|
|
|
|
let
|
|
inherit (nix) version;
|
|
|
|
in
|
|
|
|
releaseTools.coverageAnalysis {
|
|
name = "nix-coverage-${version}";
|
|
|
|
inherit (nix)
|
|
src
|
|
configureFlags
|
|
nativeBuildInputs
|
|
buildInputs
|
|
#checkInputs
|
|
;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
dontInstall = false;
|
|
|
|
doInstallCheck = true;
|
|
installCheckTarget = "installcheck"; # work around buggy detection in stdenv
|
|
|
|
lcovFilter = [ "*/boost/*" "*-tab.*" ];
|
|
|
|
hardeningDisable = ["fortify"];
|
|
|
|
NIX_CFLAGS_COMPILE = "-DCOVERAGE=1";
|
|
}
|