python310Packages.soundfile: fix build on x86_64-darwin
This commit is contained in:
@@ -29,6 +29,10 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ numpy libsndfile cffi ];
|
propagatedBuildInputs = [ numpy libsndfile cffi ];
|
||||||
propagatedNativeBuildInputs = [ cffi ];
|
propagatedNativeBuildInputs = [ cffi ];
|
||||||
|
|
||||||
|
preConfigure = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
|
||||||
|
export PYSOUNDFILE_ARCHITECTURE=x86_64
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An audio library based on libsndfile, CFFI and NumPy";
|
description = "An audio library based on libsndfile, CFFI and NumPy";
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
|
|||||||
Reference in New Issue
Block a user