on master help sign in
Added native libs to LD_LIBRARY_PATH due to ghci issue.
commit4abfa34db03189c847084cd2517375aa43e9e069 authorTimo Petteri Sinnemäki <timo.sinnemaki@helsinki.fi> dateTue 21 Jun 2016, 00:24 (10 years ago) parentbf51d47
1 file changed+3
stack-shell.nix+3
stack-shell.nix+3
@@ -25,4 +25,7 @@ in stdenv.mkDerivation {
2525 (acc: lib:
2626 " --extra-lib-dirs=${lib}/lib --extra-include-dirs=${lib}/include" + acc)
2727 "" native_libs;
28+
29+ # Needed if one wants to use ghci, due to https://ghc.haskell.org/trac/ghc/ticket/11042
30+ LD_LIBRARY_PATH = builtins.concatStringsSep ":" (map (lib: lib.out + "/lib") native_libs);
2831}