haskellPackages.hmatrix: remove impure openblas path

This commit is contained in:
Thomas Tuegel 2015-06-09 14:31:19 -05:00
parent 406428d6a4
commit 661ce66483

View File

@ -122,6 +122,9 @@ self: super: {
hmatrix = overrideCabal super.hmatrix (drv: {
configureFlags = (drv.configureFlags or []) ++ [ "-fopenblas" ];
extraLibraries = [ pkgs.openblasCompat ];
preConfigure = ''
sed -i hmatrix.cabal -e 's@/usr/lib/openblas/lib@${pkgs.openblasCompat}/lib@'
'';
});
bindings-levmar = overrideCabal super.bindings-levmar (drv: {