-
Notifications
You must be signed in to change notification settings - Fork 2
/
shell.nix
28 lines (25 loc) · 896 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
let
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/747927516efcb5e31ba03b7ff32f61f6d47e7d87.zip") { }; # 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
llvmPackages_15.libllvm
# llvmPackages_15.clang-unwrapped
# texlive.combined.scheme-full
graphviz
])
++
(with pkgs.haskellPackages; [ cabal-install
stylish-haskell
BNFC
alex
happy
]));
}