This repository has been archived by the owner on Feb 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
shell.nix
79 lines (69 loc) · 1.5 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
let
rien = import /home/frob/code/rien/rien.nix {
packageName = "preposterous";
packagePath = ./.;
# Instead of using <nixpkgs>, use a lock-file to stick to
# a particular `nixpkgs` commit.
nixpkgsLock = ./nixpkgs.json;
ghcVersion = "ghc822";
overrides = rec {
skipTests = [ "ghc-mod" "hpack" "llvm-hs-pretty" ];
jailbreak = [ "cabal-helper" "ghc-mod" ];
skipHaddock = justStaticExecutables;
justStaticExecutables = [
"brittany"
"hpack"
"ghcid"
"hpack"
];
};
};
in
rien.shell {
# Generate Hoogle documentation?
wantHoogle = true;
# Haskell dependencies
deps = hsPkgs: with hsPkgs; [
brittany
ghc-mod
cabal-helper
hpack
text
bound
prettyprinter
lens
deriving-compat
llvm-hs-pure
llvm-hs-pretty
llvm-hs-typed
# containers
# logict
# QuickCheck
# hpack
# ghcid
# hlint
# adjunctions
# exceptions
# hashable
# hspec
# lens
# mtl
# prettyprinter
# prettyprinter-ansi-terminal
# profunctors
# safe
# text
# uniplate
# unordered-containers
];
# Optionally, also add sets of related packages that are
# commonly used together.
depSets = hsPkgs: with (rien.package-sets hsPkgs); [
development-servers
];
# Native dependencies
nativeDeps = pkgs: with pkgs; [
# z3
llvm_5
];
}