Skip to content

Commit

Permalink
julia-git: add macOS frameworks, hopefully that's useful
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c committed Nov 26, 2016
1 parent b47307b commit db7e616
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/compilers/julia/git.nix
Expand Up @@ -8,6 +8,8 @@
, curl, fftwSinglePrec, fftw, gmp, libgit2, mpfr, openlibm, openspecfun, pcre2
# linear algebra
, openblas, arpack, suitesparse
# Darwin frameworks
, CoreServices, ApplicationServices
}:

with stdenv.lib;
Expand Down Expand Up @@ -80,7 +82,9 @@ stdenv.mkDerivation rec {
arpack fftw fftwSinglePrec gmp libgit2 libunwind mpfr
pcre2.dev openblas openlibm openspecfun readline suitesparse utf8proc
zlib llvm
];
]
++ stdenv.lib.optionals stdenv.isDarwin [CoreServices ApplicationServices]
;

nativeBuildInputs = [ curl gfortran m4 makeWrapper patchelf perl python2 which ];

Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -5052,6 +5052,7 @@ in
julia-git = lowPrio (callPackage ../development/compilers/julia/git.nix {
gmp = gmp6;
openblas = openblasCompat;
inherit (darwin.apple_sdk.frameworks) CoreServices ApplicationServices;
llvm = llvm_39;
});

Expand Down

0 comments on commit db7e616

Please sign in to comment.