Merge pull request #121691 from sternenseemann/sacc-darwin

sacc: fix build on darwin
This commit is contained in:
Sandro 2021-05-05 23:22:08 +02:00 committed by GitHub
commit 1f9d30fc7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \