parent
24f2e730a7
commit
2b27a46f2e
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ readline gettext ncurses ];
|
buildInputs = [ readline gettext ncurses ];
|
||||||
|
|
||||||
|
# Needed with GCC 7
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=int-in-bool-context";
|
||||||
|
|
||||||
patchPhase = optionalString stdenv.isDarwin ''
|
patchPhase = optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h"
|
substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user