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 ];
|
||||
|
||||
CFLAGS = lib.optionals stdenv.isDarwin [
|
||||
"-D_DARWIN_C_SOURCE"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace config.mk \
|
||||
--replace curses ncurses \
|
||||
|
Loading…
x
Reference in New Issue
Block a user