ocamlPackages.curses: Fix build after ncurses5 changes
Fixes build after commit 3d24ae9b4426bb8adfcb08de57be21fdf0a377f8:
3d24ae9b44 (commitcomment-27714305)
Thanks to dtzWill for the pointer:
https://github.com/NixOS/nixpkgs/pull/34477#issuecomment-367359351
This commit is contained in:
parent
71b0de1019
commit
8afcfb2bb6
@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ocaml findlib ];
|
buildInputs = [ ocaml findlib ];
|
||||||
|
|
||||||
|
# Fix build for recent ncurses versions
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-DNCURSES_INTERNALS=1" ];
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user