diff --git a/pkgs/development/tools/analysis/sparse/default.nix b/pkgs/development/tools/analysis/sparse/default.nix index 7842954cde6a..497d571cf14c 100644 --- a/pkgs/development/tools/analysis/sparse/default.nix +++ b/pkgs/development/tools/analysis/sparse/default.nix @@ -22,6 +22,14 @@ in stdenv.mkDerivation rec { doCheck = true; buildFlags = [ "GCC_BASE:=${GCC_BASE}" ]; + # Test failures with "fortify3" on, such as: + # +*** buffer overflow detected ***: terminated + # +Aborted (core dumped) + # error: Actual exit value does not match the expected one. + # error: expected 0, got 134. + # error: FAIL: test 'bool-float.c' failed + hardeningDisable = [ "fortify3" ]; + passthru.tests = { simple-execution = callPackage ./tests.nix { }; };