From 18300172897169e62d6140c34f5949a7a2232375 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Thu, 16 Nov 2017 19:48:50 +0200 Subject: [PATCH] reptyr: Fix GCC 7 build https://hydra.nixos.org/build/63981928 --- pkgs/os-specific/linux/reptyr/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/reptyr/default.nix b/pkgs/os-specific/linux/reptyr/default.nix index 779337e85f86..4b83e478dd1c 100644 --- a/pkgs/os-specific/linux/reptyr/default.nix +++ b/pkgs/os-specific/linux/reptyr/default.nix @@ -13,6 +13,9 @@ stdenv.mkDerivation rec { sed 1i'#include ' -i platform/linux/linux.c ''; + # Needed with GCC 7 + NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation"; + makeFlags = ["PREFIX=$(out)"]; meta = { platforms = [ "i686-linux" "x86_64-linux" ];