Commit 5f5c9cb1 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Add optional Accelerate dependency on Darwin for pkgs.nix

On Mac, building `gargantext` requires linking against the
Accelerate framework (completely unrelated to the `accelerate` Haskell
package!). This patch provides an extra `pkgs.nix` directive that will
kick in only when building on Darwin.
parent b0e9eec9
Pipeline #3660 failed with stage
in 53 minutes and 16 seconds
......@@ -32,7 +32,9 @@ rec {
icu
graphviz
llvm_9
];
] ++ ( lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Accelerate
]);
libPaths = pkgs.lib.makeLibraryPath nonhsBuildInputs;
shellHook = ''
export LD_LIBRARY_PATH="${pkgs.gfortran7.cc.lib}:${libPaths}:$LD_LIBRARY_PATH"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment