Skip to content

Commit a970f9d

Browse files
authored
Merge pull request #169 from fendor/update-shell-nix
Use shell.nix from Haskell-IDE-Engine
2 parents 26892d6 + f4bf9fd commit a970f9d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

shell.nix

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
with (import <nixpkgs> {});
2+
stdenv.mkDerivation {
3+
name = "haskell-language-server";
4+
buildInputs = [
5+
gmp
6+
zlib
7+
ncurses
8+
9+
haskellPackages.cabal-install
10+
];
11+
src = null;
12+
shellHook = ''
13+
export LD_LIBRARY_PATH=${gmp}/lib:${zlib}/lib:${ncurses}/lib
14+
export PATH=$PATH:$HOME/.local/bin
15+
'';
16+
}

0 commit comments

Comments
 (0)