summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorKamal Al Marhubi <kamal@wave.com>2023-06-12 14:51:19 -0400
committerYt <happysalada@tuta.io>2023-06-12 20:51:04 -0400
commitfc5724e33a4a51c3d6c80959360714a227e03d72 (patch)
tree9d14bec939e198ffea6e428c9aeac5ba68429da3 /pkgs/development/python-modules/rangehttpserver
parentff88800ebe72b1be9a4c728a76cdfb1b663e0559 (diff)
pythonPackages.polars: Fix build on darwin
The build had been failing with an error like Compiling py-polars v0.17.11 (/private/tmp/nix-build-python3.10-polars-0.17.11.drv-0/source/py-polars) error: linking with `/nix/store/0a46pjq0isnpbzf4wi6v1pdcvaj6i43m-clang-wrapper-11.1.0/bin/cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/nix/store/9zglgb7pvcvv7lxwdxzvjqs1w4kfyfgv-rustc-1.69.0/lib/rustlib/aarch64-apple-darwin/bin:/nix/store/x1nk3q6shnsfqphmq2l27gf585wnpf1x-python3-3.10.11/bin:/nix/store/g9kv74wk0xyikshim0drwbgf67zcc3qh-python3.10-p> = note: ld: framework not found Security clang-11: error: linker command failed with exit code 1 (use -v to see invocation) Adding the Security framework to buildInputs appears to have solved that. Demonstration: $ read -r -d '' PYSRC <<EOF import platform print(platform.platform()) import polars as pl s = pl.Series("a", [1, 2, 3, 4, 5]) print(s) EOF $ nix shell --impure --expr \ "with builtins.getFlake \"$PWD\"; with legacyPackages.aarch64-darwin; python3.withPackages (ps: with ps; [ polars ])" \ --command python -c "$PYSRC" macOS-13.4-arm64-arm-64bit shape: (5,) Series: 'a' [i64] [ 1 2 3 4 5 ]
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions