shogun: fix parallel building

+7 -1
+7 -1
pkgs/applications/science/machine-learning/shogun/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, ccache, cmake, ctags, swig 1 + { stdenv, lib, fetchFromGitHub, fetchpatch, ccache, cmake, ctags, swig 2 2 # data, compression 3 3 , bzip2, curl, hdf5, json_c, lzma, lzo, protobuf, snappy 4 4 # maths ··· 25 25 rev = pname + "_" + version; 26 26 sha256 = "0f2zwzvn5apvwypkfkq371xp7c5bdb4g1fwqfh8c2d57ysjxhmgf"; 27 27 fetchSubmodules = true; 28 + }; 29 + 30 + patches = fetchpatch { 31 + name = "Fix-meta-example-parser-bug-in-parallel-builds.patch"; 32 + url = "https://github.com/shogun-toolbox/shogun/commit/ecd6a8f11ac52748e89d27c7fab7f43c1de39f05.patch"; 33 + sha256 = "1hrwwrj78sxhwcvgaz7n4kvh5y9snfcc4jf5xpgji5hjymnl311n"; 28 34 }; 29 35 30 36 CCACHE_DIR=".ccache";