mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 21:30:45 +02:00
Merge pull request #215262 from wegank/soundfile-arch
python310Packages.soundfile: fix build on x86_64-darwin
This commit is contained in:
commit
f662ac1d44
|
@ -29,6 +29,10 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [ numpy libsndfile cffi ];
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
|
||||
preConfigure = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
|
||||
export PYSOUNDFILE_ARCHITECTURE=x86_64
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An audio library based on libsndfile, CFFI and NumPy";
|
||||
license = lib.licenses.bsd3;
|
||||
|
|
Loading…
Reference in a new issue