mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
sacc: fix build on darwin
SIGWINCH is not defined unless we pass -D_DARWIN_C_SOURCE, it seems.
This commit is contained in:
parent
b8336c2b8a
commit
2cea48e5c6
@ -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…
Reference in New Issue
Block a user