This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
shell.nix
86 lines (76 loc) · 1.57 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
let
rien = import .rien/rien.nix {
packageName = "pico";
packagePath = ./.;
# Instead of using <nixpkgs>, use a lock-file to stick to
# a particular `nixpkgs` commit.
nixpkgsLock = ./nixpkgs.json;
ghcVersion = "ghc865";
overrides = rec {
jailbreak = [ "cabal-helper" "ghc-mod" "liquidhaskell" "streaming-utils" ];
skipHaddock = justStaticExecutables;
skipTests = [ "cabal-helper" "ghc-mod" ];
justStaticExecutables = [
"brittany"
"hpack"
"ghcid"
];
};
};
in
(rien.shell {
# Generate Hoogle documentation?
wantHoogle = true;
# Haskell dependencies
deps = hsPkgs: with hsPkgs; [
brittany
hpack
ghcid
hlint
stylish-haskell
mtl
constraints
protolude
array
base
base-orphans
bifunctors
bytestring
call-stack
comonad
containers
contravariant
distributive
exceptions
filepath
free
generic-deriving
ghc-prim
hashable
kan-extensions
mtl
nats
parallel
profunctors
reflection
semigroupoids
semigroups
tagged
template-haskell
text
th-abstraction
transformers
unordered-containers
vector
void
];
# Optionally, also add sets of related packages that are
# commonly used together.
depSets = hsPkgs: with (rien.package-sets hsPkgs); [
];
# Native dependencies
nativeDeps = pkgs: with pkgs; [
# z3
# llvm_5
];
})