python311Packages.polars: fix build with maturinBuildHook changes

This commit is contained in:
natsukium
2023-12-20 20:46:08 +01:00
committed by Martin Weinelt
parent 3d9c94eeb7
commit 564af7a61e
@@ -38,7 +38,6 @@ buildPythonPackage {
# thus the `sed` command
# Make sure to check that the right substitutions are made when updating the package
preBuild = ''
cd py-polars
#sed -i 's/version = "0.18.0"/version = "${version}"/g' Cargo.lock
'';
@@ -49,7 +48,7 @@ buildPythonPackage {
};
};
cargoRoot = "py-polars";
sourceRoot = "source/py-polars";
# Revisit this whenever package or Rust is upgraded
RUSTC_BOOTSTRAP = 1;