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

Commit

Permalink
Merge pull request #926 from bbarker/nix
Browse files Browse the repository at this point in the history
adding nix shell for building and using HIE
  • Loading branch information
alanz committed Nov 7, 2018
2 parents a6fd344 + 8aed164 commit ae07639
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -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
'';
}

0 comments on commit ae07639

Please sign in to comment.