sacc: fix Darwin build (#358095)

This commit is contained in:
Pol Dellaiera
2024-11-23 05:48:23 +01:00
committed by GitHub
+2 -2
View File
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses libressl ];
CFLAGS = lib.optionals stdenv.hostPlatform.isDarwin [
"-D_DARWIN_C_SOURCE"
makeFlags = lib.optionals stdenv.hostPlatform.isDarwin [
"OSCFLAGS=-D_DARWIN_C_SOURCE"
];
postPatch = ''