mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
Further changes
This commit is contained in:
parent
f55ee7cf77
commit
eff9b12bc2
4 changed files with 108 additions and 136 deletions
35
coverage.nix
Normal file
35
coverage.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ 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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue