-
Notifications
You must be signed in to change notification settings - Fork 36
/
shell.nix
67 lines (59 loc) · 1.75 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
# an ad-hoc nix setup, pending proper nixification of the build
# roughly release-22.05
with import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/d3551b986a714071360b75feffa0ce117417f09c.tar.gz) { };
with haskell.lib;
mkShellNoCC rec {
name = "incredible-proof-machine-env";
buildInputs = [
cabal-install
(haskell.packages.ghc8107.ghc.withPackages(p: with p; [
aeson
parsec
tagged
unbound-generics
either
yaml
tasty
tasty-expected-failure
tasty-hunit
tasty-quickcheck
criterion
void
extra
]))
((haskell.packages.ghcjs
.override({ overrides = self: super: {
# depends on doctest
foldl = dontCheck super.foldl;
# fails
unbound-generics = dontCheck super.unbound-generics;
unliftio = dontCheck super.unliftio;
conduit = dontCheck super.conduit;
# slow
mono-traversable = dontCheck super.mono-traversable;
libyaml = dontCheck super.libyaml;
text-short = dontCheck super.text-short;
# Can be dropped when nixpkgs includes
# https://github.com/NixOS/nixpkgs/pull/177489/files
# Keep synced with kaleidogen for better cache usage!
ghcjs-base = super.ghcjs-base.overrideAttrs(d: {
src = pkgs.fetchFromGitHub {
owner = "ghcjs";
repo = "ghcjs-base";
rev = "fbaae59b05b020e91783df122249095e168df53f";
sha256 = "sha256-x6eCAK1Hne0QkV3Loi9YpxbleNHU593E4AO8cbk2vUc=";
};
});
};}))
.ghc.withPackages(p: with p; [
aeson
parsec
tagged
unbound-generics
either
ghcjs-base
void
]))
nodePackages.jshint
];
}