mirror of
https://github.com/haskell/haskell-ide-engine.git
synced 2024-09-11 11:05:30 +03:00
adding nix shell for building and using HIE
This commit is contained in:
parent
a6fd344958
commit
8aed16403e
16
shell.nix
Normal file
16
shell.nix
Normal file
@ -0,0 +1,16 @@
|
||||
with import <nixpkgs> {};
|
||||
stdenv.mkDerivation {
|
||||
name = "haskell-ide-engine";
|
||||
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