mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
Use shell.nix from Haskell-IDE-Engine
This commit is contained in:
parent
26892d6d8f
commit
f4bf9fddb1
16
shell.nix
Normal file
16
shell.nix
Normal file
@ -0,0 +1,16 @@
|
||||
with (import <nixpkgs> {});
|
||||
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
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user