mimalloc: set MI_NO_OPT_ARCH

This commit is contained in:
SandaruKasa
2026-02-11 22:46:35 +03:00
parent 9b986c917b
commit d8c6c327f4
+4
View File
@@ -40,6 +40,10 @@ stdenv.mkDerivation (finalAttrs: {
MI_BUILD_SHARED = stdenv.hostPlatform.hasSharedLibraries;
MI_LIBC_MUSL = stdenv.hostPlatform.libc == "musl";
MI_BUILD_TESTS = finalAttrs.doCheck;
# MI_OPT_ARCH is inaccurate (e.g. it assumes aarch64 == armv8.1-a).
# Nixpkgs's native platform configuration does a better job.
MI_NO_OPT_ARCH = true;
};
postPatch = ''