diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-05-04 14:42:30 +0200 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-05-04 14:42:30 +0200 |
commit | 2cea48e5c6e18a5a148fed11ae2f94ea5c3c35eb (patch) | |
tree | d586a844168c1ab4b1e67659c26b92c2931f5c1e /pkgs/applications/networking/gopher | |
parent | b8336c2b8abaabb4307ef2f1c38ec48f2f1dbf6f (diff) |
sacc: fix build on darwin
SIGWINCH is not defined unless we pass -D_DARWIN_C_SOURCE, it seems.
Diffstat (limited to 'pkgs/applications/networking/gopher')
-rw-r--r-- | pkgs/applications/networking/gopher/sacc/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/networking/gopher/sacc/default.nix b/pkgs/applications/networking/gopher/sacc/default.nix index 046ae42ebcb77..4d18f6a4f4a7e 100644 --- a/pkgs/applications/networking/gopher/sacc/default.nix +++ b/pkgs/applications/networking/gopher/sacc/default.nix @@ -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 \ |