From c4fe8c0f69f9701fa5c7ae819285de8c8c9bdbf6 Mon Sep 17 00:00:00 2001 From: Christoph Stich Date: Thu, 13 Feb 2020 11:57:14 +0000 Subject: [PATCH] julia_13: Fixed darwin dependencies --- pkgs/development/compilers/julia/1.3.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/julia/1.3.nix b/pkgs/development/compilers/julia/1.3.nix index efb9ce39198..5b1300ba240 100644 --- a/pkgs/development/compilers/julia/1.3.nix +++ b/pkgs/development/compilers/julia/1.3.nix @@ -8,8 +8,8 @@ , curl, fftwSinglePrec, fftw, gmp, libgit2, mpfr, openlibm, openspecfun, pcre2 # linear algebra , openblas, arpack -# llvm -, llvm +# Darwin frameworks +, CoreServices, ApplicationServices }: with stdenv.lib; @@ -83,6 +83,8 @@ stdenv.mkDerivation rec { # Julia requires Pentium 4 (SSE2) or better cpuTarget = { x86_64 = "x86-64"; i686 = "pentium4"; }.${arch} or (throw "unsupported architecture: ${arch}"); + # Julia applies a lot of patches to its dependencies, so for now do not use the system LLVM + # https://github.com/JuliaLang/julia/tree/master/deps/patches in [ "ARCH=${arch}" "MARCH=${march}"