We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b08bdf3 commit ea6035dCopy full SHA for ea6035d
flake.nix
@@ -44,11 +44,16 @@
44
};
45
46
coverage =
47
- pkgs.releaseTools.coverageAnalysis {
+ (pkgs.releaseTools.coverageAnalysis {
48
name = "patchelf-coverage";
49
src = self.hydraJobs.tarball;
50
lcovFilter = ["*/tests/*"];
51
- };
+ }).overrideAttrs (old: {
52
+ preCheck = ''
53
+ # coverage cflag breaks this target
54
+ NIX_CFLAGS_COMPILE=''${NIX_CFLAGS_COMPILE//--coverage} make -C tests phdr-corruption.so
55
+ '';
56
+ });
57
58
build = forAllSystems (system: nixpkgsFor.${system}.patchelf-new);
59
build-sanitized = forAllSystems (system: nixpkgsFor.${system}.patchelf-new.overrideAttrs (old: {
0 commit comments