mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00
python310Packages.soundfile: fix build on x86_64-darwin
This commit is contained in:
parent
ab41e13f6c
commit
5d580276e9
@ -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 New Issue
Block a user