From 349f3dfe25401e64e01560cd7dc8374dba407614 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 7 Nov 2018 13:18:33 -0600 Subject: [PATCH] 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. --- pkgs/applications/science/machine-learning/shogun/default.nix | 4 ++-- 1 file 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 ])