Merge pull request #121691 from sternenseemann/sacc-darwin
sacc: fix build on darwin
This commit is contained in:
commit
1f9d30fc7b
@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
|
CFLAGS = lib.optionals stdenv.isDarwin [
|
||||||
|
"-D_DARWIN_C_SOURCE"
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace config.mk \
|
substituteInPlace config.mk \
|
||||||
--replace curses ncurses \
|
--replace curses ncurses \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user