python312Packages.quil: fix build on Darwin
Adds `libiconv` to build path (fixes linker error)
This commit is contained in:
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" ];
|
||||
|
||||
Reference in New Issue
Block a user