From c1901038c804a2572b5e6a5d2a0c80360dcb67b1 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 20 Mar 2016 22:57:48 +0100 Subject: [PATCH] haka: fix build on gcc5 See https://hydra.nixos.org/build/33296799/nixlog/1/raw --- pkgs/tools/security/haka/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/security/haka/default.nix b/pkgs/tools/security/haka/default.nix index d040aaa6aea8..8f856213e8cf 100644 --- a/pkgs/tools/security/haka/default.nix +++ b/pkgs/tools/security/haka/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { sha1 = "87625ed32841cc0b3aa92aa49397ce71ce434bc2"; }; + NIX_CFLAGS_COMPILE = "-Wno-error"; + preConfigure = '' sed -i 's,/etc,'$out'/etc,' src/haka/haka.c sed -i 's,/etc,'$out'/etc,' src/haka/CMakeLists.txt