summary refs log tree commit diff
path: root/pkgs/applications/science/machine-learning
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-07 13:18:33 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-11-07 13:18:33 -0600
commit349f3dfe25401e64e01560cd7dc8374dba407614 (patch)
treecca016813018685f1f6fe1d6f58963fc468e9375 /pkgs/applications/science/machine-learning
parent6ba2b84f49f67840495d150e7e76cfb9cb29b7d2 (diff)
downloadnixpkgs-349f3dfe25401e64e01560cd7dc8374dba407614.tar
nixpkgs-349f3dfe25401e64e01560cd7dc8374dba407614.tar.gz
nixpkgs-349f3dfe25401e64e01560cd7dc8374dba407614.tar.bz2
nixpkgs-349f3dfe25401e64e01560cd7dc8374dba407614.tar.lz
nixpkgs-349f3dfe25401e64e01560cd7dc8374dba407614.tar.xz
nixpkgs-349f3dfe25401e64e01560cd7dc8374dba407614.tar.zst
nixpkgs-349f3dfe25401e64e01560cd7dc8374dba407614.zip
shogun: use openblas
shogun needs the cblas.h header file to be available. It used to get
it from liblapack, but that is not available anymore. Instead we can
use openblasCompat to get it.
Diffstat (limited to 'pkgs/applications/science/machine-learning')
-rw-r--r--pkgs/applications/science/machine-learning/shogun/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/science/machine-learning/shogun/default.nix b/pkgs/applications/science/machine-learning/shogun/default.nix
index 0ac40b1e7d4..402ef0d9588 100644
--- a/pkgs/applications/science/machine-learning/shogun/default.nix
+++ b/pkgs/applications/science/machine-learning/shogun/default.nix
@@ -2,7 +2,7 @@
 # data, compression
 , bzip2, curl, hdf5, json_c, lzma, lzo, protobuf, snappy
 # maths
-, blas, eigen, nlopt, lp_solve, colpack
+, openblasCompat, eigen, nlopt, lp_solve, colpack
 # libraries
 , libarchive, liblapack, libxml2
 # extra support
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
   CCACHE_DIR=".ccache";
 
   buildInputs = with lib; [
-      blas bzip2 ccache cmake colpack curl ctags eigen hdf5 json_c lp_solve lzma lzo
+      openblasCompat bzip2 ccache cmake colpack curl ctags eigen hdf5 json_c lp_solve lzma lzo
       protobuf nlopt snappy swig (libarchive.dev) liblapack libxml2
     ]
     ++ optionals (pythonSupport) (with pythonPackages; [ python ply numpy ])