summary refs log tree commit diff
path: root/pkgs/development/interpreters/gnu-apl
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-11-16 19:44:12 +0200
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-11-16 19:44:12 +0200
commit2b27a46f2e0727dbc0a74ccf930820507694ed77 (patch)
treec0617f67fa29cf787ca00a2523d7a24e39cc001f /pkgs/development/interpreters/gnu-apl
parent24f2e730a7f3c7a1feb866399e557e6f9e171bda (diff)
downloadnixpkgs-2b27a46f2e0727dbc0a74ccf930820507694ed77.tar
nixpkgs-2b27a46f2e0727dbc0a74ccf930820507694ed77.tar.gz
nixpkgs-2b27a46f2e0727dbc0a74ccf930820507694ed77.tar.bz2
nixpkgs-2b27a46f2e0727dbc0a74ccf930820507694ed77.tar.lz
nixpkgs-2b27a46f2e0727dbc0a74ccf930820507694ed77.tar.xz
nixpkgs-2b27a46f2e0727dbc0a74ccf930820507694ed77.tar.zst
nixpkgs-2b27a46f2e0727dbc0a74ccf930820507694ed77.zip
gnuapl: Fix build with GCC 7
https://hydra.nixos.org/build/63985912
Diffstat (limited to 'pkgs/development/interpreters/gnu-apl')
-rw-r--r--pkgs/development/interpreters/gnu-apl/default.nix3
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 4d38545a44f..2f5ce0e7635 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"
   '';