Created
July 12, 2019 00:57
-
-
Save dysinger/00a7577981a1052221c4334883c2b7bd to your computer and use it in GitHub Desktop.
Haskell/Stack/Intero/Nix Env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ ghcVersion ? "ghc865", pkgs ? import ./nix { inherit ghcVersion; } }: | |
with pkgs; | |
haskellPackages.shellFor { | |
packages = ps: with ps; [ | |
# ADD THIS LOCAL PROJECT'S ENVIRONMENT TO OUR SHELL | |
interact | |
]; | |
# ADD HOOGLE & INDEX ALL HASKELL PACKAGES | |
withHoogle = true; | |
# ADD ALL THE OTHER GOOD HASKELL DEV TOOLS | |
nativeBuildInputs = with haskellPackages; [ | |
cabal-install | |
cabal2nix | |
ghcid | |
hindent | |
hlint | |
hpack | |
intero | |
pointfree | |
stack | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment