python310Packages.qiskit-terra: fix build on aarch64-darwin
This commit is contained in:
parent
5d0d872de1
commit
8689be5c57
@ -7,6 +7,7 @@
|
||||
, cargo
|
||||
, rustPlatform
|
||||
, rustc
|
||||
, libiconv
|
||||
# Python requirements
|
||||
, dill
|
||||
, numpy
|
||||
@ -72,6 +73,8 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ setuptools-rust rustc cargo rustPlatform.cargoSetupHook ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user