python312Packages.quil: fix build on Darwin

Adds `libiconv` to build path (fixes linker error)
This commit is contained in:
Joseph Stahl
2024-05-16 09:41:30 +02:00
committed by Weijia Wang
parent dc59525800
commit a2e87575c7
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
@@ -7,6 +8,7 @@
numpy,
pytestCheckHook,
syrupy,
libiconv
}:
buildPythonPackage rec {
@@ -40,6 +42,8 @@ buildPythonPackage rec {
rustPlatform.maturinBuildHook
];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
dependencies = [ numpy ];
pythonImportsCheck = [ "numpy" ];