diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-11-16 19:44:12 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-11-16 19:44:12 +0200 |
commit | 2b27a46f2e0727dbc0a74ccf930820507694ed77 (patch) | |
tree | c0617f67fa29cf787ca00a2523d7a24e39cc001f /pkgs | |
parent | 24f2e730a7f3c7a1feb866399e557e6f9e171bda (diff) |
gnuapl: Fix build with GCC 7
https://hydra.nixos.org/build/63985912
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/interpreters/gnu-apl/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/gnu-apl/default.nix b/pkgs/development/interpreters/gnu-apl/default.nix index 4d38545a44f0b..2f5ce0e76350f 100644 --- a/pkgs/development/interpreters/gnu-apl/default.nix +++ b/pkgs/development/interpreters/gnu-apl/default.nix @@ -12,6 +12,9 @@ stdenv.mkDerivation rec { buildInputs = [ readline gettext ncurses ]; + # Needed with GCC 7 + NIX_CFLAGS_COMPILE = "-Wno-error=int-in-bool-context"; + patchPhase = optionalString stdenv.isDarwin '' substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h" ''; |