-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathshell.nix
More file actions
28 lines (26 loc) · 660 Bytes
/
shell.nix
File metadata and controls
28 lines (26 loc) · 660 Bytes
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
28
let
pkgs = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/22.05.tar.gz";
sha256 = "0d643wp3l77hv2pmg2fi7vyxn4rwy0iyr8djcw1h5x72315ck9ik";
}) {};
in
with pkgs;
mkShell rec {
buildInputs = [
act
cabal-install
haskell.compiler.ghc902
haskellPackages.cabal-fmt
haskellPackages.ormolu
haskellPackages.tasty-discover
hlint
gmp
pandoc
pkgconfig
stylish-haskell
zlib
];
# Ensure that libz.so and other libraries are available to TH splices, cabal
# repl, etc.
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
}