libdict: fix darwin build

This commit is contained in:
Weijia Wang 2024-12-09 18:50:08 +01:00
parent 52dcc88971
commit 106cf3d281

View File

@ -28,6 +28,13 @@ stdenv.mkDerivation (finalAttrs: {
"-DLIBDICT_SHARED=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}" "-DLIBDICT_SHARED=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
]; ];
env.NIX_CFLAGS_COMPILE = toString (
lib.optionals stdenv.cc.isClang [
"-Wno-error=strict-prototypes"
"-Wno-error=newline-eof"
]
);
doCheck = true; doCheck = true;
meta = with lib; { meta = with lib; {