The Problem
I get build errors when trying to use python3Packages.polars
Symptoms
last 10 log lines:
> thread 'main' panicked at '
> failed to execute command: No such file or directory (os error 2)
> is `cmake` not installed?
>
> build script failed, must exit now', /build/polars-0.13.19-vendor.tar.gz/cmake/src/lib.rs:975:5
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> warning: build failed, waiting for other jobs to finish...
> 💥 maturin failed
> Caused by: Failed to build a native library through cargo
> Caused by: Cargo build finished with "exit status: 101": `cargo rustc --message-format json --manifest-path Cargo.toml -j 16 --frozen --target x86_64-unknown-linux-gnu --release --lib -- -C link-arg=-s`
Steps to reproduce
EDIT: simpler way to reproduce
nix shell nixpkgs#python310Packages.polars
Original example
nix flake new -t templates#python ./reproduce-polars-build-failure
cd reproduce-polars-build-failure
- edit
flake.nix
to addpython3Packages.polars
just belowpython3Packages.poetry
(line 14) nix develop
Question
- What am I doing wrong?