mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
numpy: fix build on darwin
* remove unnecessary gcc flag
This commit is contained in:
parent
e193a4f898
commit
c8cc4128ac
|
@ -3064,6 +3064,10 @@ pythonPackages = python.modules // rec {
|
|||
sha256 = "1pawfmf7j7pd3mjzhmmw9hkglc2qdirrkvv29m5nsmpf2b3ip2vq";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's/-faltivec//' numpy/distutils/system_info.py
|
||||
'';
|
||||
|
||||
# TODO: add ATLAS=${pkgs.atlas}
|
||||
installCommand = ''
|
||||
export BLAS=${pkgs.blas} LAPACK=${pkgs.liblapack}
|
||||
|
|
Loading…
Reference in a new issue