python3Packages.polars: fix the mimalloc flag

Since https://github.com/pola-rs/polars/pull/16365, the proper way to
use the mimalloc allocator is the allocator=mimalloc config options,
instead of use_mimalloc.

Update our packaging accordingly
This commit is contained in:
Alexander Bantyev
2026-02-02 14:14:04 +01:00
parent 11d02ee684
commit 34a348a059
@@ -97,7 +97,7 @@ buildPythonPackage rec {
RUSTFLAGS = lib.concatStringsSep " " (
lib.optionals (polarsMemoryAllocator.pname == "mimalloc") [
"--cfg use_mimalloc"
"--cfg allocator=\"mimalloc\""
]
);
RUST_BACKTRACE = true;