minizip-ng: fix darwin build (#374521)

This commit is contained in:
2025-02-02 21:17:55 +01:00
committed by GitHub
+2
View File
@@ -48,6 +48,8 @@ stdenv.mkDerivation (finalAttrs: {
"-DMZ_LIBCOMP=OFF"
];
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-register";
postInstall = ''
# make lib findable as libminizip-ng even if compat is enabled
for ext in so dylib a ; do