julia: build dependencies with same openblas

This commit is contained in:
Thomas Tuegel 2015-09-16 11:19:03 -05:00
parent aa4efac850
commit 3dcff36085

View File

@ -5,11 +5,22 @@
, libunwind, llvm, readline, utf8proc, zlib
# standard library dependencies
, double_conversion, fftwSinglePrec, fftw, glpk, gmp, mpfr, pcre
# linear algebra
, openblas, arpack, suitesparse
}:
with stdenv.lib;
# All dependencies should use the same OpenBLAS.
let
arpack_ = arpack;
suitesparse_ = suitesparse;
in
let
arpack = arpack_.override { inherit openblas; };
suitesparse = suitesparse_.override { inherit openblas; };
in
stdenv.mkDerivation rec {
pname = "julia";
version = "0.3.11";