Commit bab85a28 authored by Julien Moutinho's avatar Julien Moutinho
parent 5e430314
Pipeline #6160 failed with stages
...@@ -301,10 +301,25 @@ ...@@ -301,10 +301,25 @@
pkgs.haskell.packages.${config.compiler-nix-name}.hlint pkgs.haskell.packages.${config.compiler-nix-name}.hlint
]; ];
shellHook = '' shellHook =
let
# Workaround https://gitlab.haskell.org/ghc/ghc/-/issues/23138#note_567034
libcxx-workaround = pkgs.symlinkJoin {
name = "libcxx-workaround";
paths = [ pkgs.libcxx ];
postBuild = "ln -s libc++.so $out/lib/c++";
};
in
''
export GARGANTEXT_CORENLP_SERVER="nix -L run .#coreNLP" export GARGANTEXT_CORENLP_SERVER="nix -L run .#coreNLP"
cp -f ${pkgs.buildPackages.writeText "cabal.project.local" '' cp -f ${pkgs.buildPackages.writeText "cabal.project.local" ''
package accelerate
cc-options: -B${libcxx-workaround}/lib
cxx-options: -B${libcxx-workaround}/lib
package double-conversion
cc-options: -B${libcxx-workaround}/lib
cxx-options: -B${libcxx-workaround}/lib
-- Same fix as in haskell.nix's packages.haskell-igraph.components.library, -- Same fix as in haskell.nix's packages.haskell-igraph.components.library,
-- but for cabal-install -- but for cabal-install
package haskell-igraph package haskell-igraph
......
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