numpy: fixed build (patch by Konrad Hinsen)

svn path=/nixpkgs/trunk/; revision=33941
This commit is contained in:
Peter Simons
2012-04-28 14:14:16 +00:00
parent ce7f9e1d14
commit 6c37520d2a
2 changed files with 31 additions and 2 deletions
+3 -2
View File
@@ -1081,9 +1081,10 @@ let pythonPackages = python.modules // rec {
sha256 = "1pawfmf7j7pd3mjzhmmw9hkglc2qdirrkvv29m5nsmpf2b3ip2vq";
};
# TODO: add ATLAS=${pkgs.atlas}
patches = [ ../development/python-modules/numpy/no_default_dirs.patch ];
installCommand = ''
export BLAS=${pkgs.blas} LAPACK=${pkgs.liblapack}
export BLAS=${pkgs.blas} LAPACK=${pkgs.liblapack} ATLAS=${pkgs.atlas}
python setup.py build --fcompiler="gnu95"
python setup.py install --prefix=$out
'';