diff options
| author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-11-16 19:48:50 +0200 |
|---|---|---|
| committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-11-16 19:48:50 +0200 |
| commit | 18300172897169e62d6140c34f5949a7a2232375 (patch) | |
| tree | 17ae690a1c256b14f82362d3c1627a08379b86ed | |
| parent | gnuapl: Fix build with GCC 7 (diff) | |
| download | nixpkgs-origin/gcc-7.tar.gz | |
reptyr: Fix GCC 7 buildorigin/gcc-7
https://hydra.nixos.org/build/63981928
| -rw-r--r-- | pkgs/os-specific/linux/reptyr/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 <sys/sysmacros.h>' -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" ]; |
