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

View File

@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses ];
CFLAGS = lib.optionals stdenv.isDarwin [
"-D_DARWIN_C_SOURCE"
];
postPatch = ''
substituteInPlace config.mk \
--replace curses ncurses \