From fc5724e33a4a51c3d6c80959360714a227e03d72 Mon Sep 17 00:00:00 2001 From: Kamal Al Marhubi Date: Mon, 12 Jun 2023 14:51:19 -0400 Subject: [PATCH] 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 <