From f4bf9fddb1cdeb903ca61d48321fc64768e059dd Mon Sep 17 00:00:00 2001 From: fendor Date: Mon, 22 Jun 2020 12:34:34 +0200 Subject: [PATCH] Use shell.nix from Haskell-IDE-Engine --- shell.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000000..2129b8b4b7 --- /dev/null +++ b/shell.nix @@ -0,0 +1,16 @@ +with (import {}); +stdenv.mkDerivation { + name = "haskell-language-server"; + buildInputs = [ + gmp + zlib + ncurses + + haskellPackages.cabal-install + ]; + src = null; + shellHook = '' + export LD_LIBRARY_PATH=${gmp}/lib:${zlib}/lib:${ncurses}/lib + export PATH=$PATH:$HOME/.local/bin + ''; +}