Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit ae07639

Browse files
authored
Merge pull request #926 from bbarker/nix
adding nix shell for building and using HIE
2 parents a6fd344 + 8aed164 commit ae07639

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

shell.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
with import <nixpkgs> {};
2+
stdenv.mkDerivation {
3+
name = "haskell-ide-engine";
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)