wcslib: fix build on darwin (#521648)

This commit is contained in:
Weijia Wang
2026-05-19 19:09:47 +00:00
committed by GitHub
+3
View File
@@ -14,6 +14,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-eS/gXAlURDOppOpUgPrNvsLabSgFgnW16QBqHyjFZGU=";
};
# error: call to undeclared library function 'snprintf'
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-include stdio.h";
nativeBuildInputs = [ flex ];
enableParallelBuilding = true;