nix-super/coverage.nix

38 lines
529 B
Nix
Raw Normal View History

2023-12-01 13:25:22 +02:00
{ lib
, releaseTools
, nix
, stdenv
}:
let
inherit (nix) version;
in
releaseTools.coverageAnalysis {
name = "nix-coverage-${version}";
inherit (nix)
src
buildInputs
2023-12-02 18:36:59 +02:00
nativeBuildInputs
propagatedBuildInputs
configureFlags
makeFlags
installFlags
doInstallCheck
installCheckFlags
installCheckTarget
2023-12-01 13:25:22 +02:00
;
enableParallelBuilding = true;
dontInstall = false;
lcovFilter = [ "*/boost/*" "*-tab.*" ];
hardeningDisable = ["fortify"];
NIX_CFLAGS_COMPILE = "-DCOVERAGE=1";
}