shogun: fix parallel building

This commit is contained in:
Orivej Desh 2017-12-03 11:27:45 +00:00
parent 5d23b54a20
commit 812e0bced1

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, ccache, cmake, ctags, swig
{ stdenv, lib, fetchFromGitHub, fetchpatch, ccache, cmake, ctags, swig
# data, compression
, bzip2, curl, hdf5, json_c, lzma, lzo, protobuf, snappy
# maths
@ -27,6 +27,12 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
patches = fetchpatch {
name = "Fix-meta-example-parser-bug-in-parallel-builds.patch";
url = "https://github.com/shogun-toolbox/shogun/commit/ecd6a8f11ac52748e89d27c7fab7f43c1de39f05.patch";
sha256 = "1hrwwrj78sxhwcvgaz7n4kvh5y9snfcc4jf5xpgji5hjymnl311n";
};
CCACHE_DIR=".ccache";
buildInputs = with lib; [