From edc59b47150bcf61fffe21ee16791ff34e6cb734 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Sun, 13 May 2018 01:08:35 +0000 Subject: [PATCH] linuxPackages.perf: disable format hardening, else tests will fail --- pkgs/os-specific/linux/kernel/perf.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix index bbef2bd19aea..c58851bb03ec 100644 --- a/pkgs/os-specific/linux/kernel/perf.nix +++ b/pkgs/os-specific/linux/kernel/perf.nix @@ -31,6 +31,8 @@ stdenv.mkDerivation { makeFlags = ["prefix=$(out)" "WERROR=0"] ++ kernel.makeFlags; + hardeningDisable = [ "format" ]; + # perf refers both to newt and slang nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt