churf/shell.nix
2023-01-20 09:50:35 +01:00

20 lines
410 B
Nix

let
pkgs = import <nixpkgs> { }; # pin the channel to ensure reproducibility!
in
pkgs.haskellPackages.developPackage {
root = ./.;
withHoogle = true;
modifier = drv:
pkgs.haskell.lib.addBuildTools drv (
(with pkgs; [ hlint haskell-language-server ghc jasmin ])
++
(with pkgs.haskellPackages; [
cabal-install
stylish-haskell
BNFC
alex
happy
])
);
}