1 { pkgs ? import ./pinned-22.05.nix {} }:
5 ghc = pkgs.haskell.compiler.ghc8107;
10 nonhsBuildInputs = with pkgs; [
17 #haskell-language-server
35 ] ++ ( lib.optionals stdenv.isDarwin [
36 darwin.apple_sdk.frameworks.Accelerate
38 libPaths = pkgs.lib.makeLibraryPath nonhsBuildInputs;
40 export LD_LIBRARY_PATH="${pkgs.gfortran7.cc.lib}:${libPaths}:$LD_LIBRARY_PATH"
41 export LIBRARY_PATH="${pkgs.gfortran7.cc.lib}:${libPaths}"
43 shell = pkgs.mkShell {
44 name = "gargantext-shell";
45 buildInputs = hsBuildInputs ++ nonhsBuildInputs;