knot-dns: fixup build on darwin

Let's simply do this until upstream has a long-term solution.
This commit is contained in:
Vladimír Čunát
2023-12-16 09:33:37 +01:00
parent 3dda6d5ed5
commit 944cd0b02a
+3 -1
View File
@@ -46,7 +46,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
CFLAGS = [ "-O2" "-DNDEBUG" ];
CFLAGS = [ "-O2" "-DNDEBUG" ]
# https://gitlab.nic.cz/knot/knot-dns/-/issues/909
++ lib.optional stdenv.isDarwin "-D__APPLE_USE_RFC_3542";
doCheck = true;
checkFlags = [ "V=1" ]; # verbose output in case some test fails