-
Notifications
You must be signed in to change notification settings - Fork 154
/
overlay-ghc962.nix
54 lines (44 loc) · 1.97 KB
/
overlay-ghc962.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
{ pkgs }:
final: prev:
let
inherit (pkgs.haskell.lib) doJailbreak dontCheck markUnbroken;
in
{
# Use an older version than the default in nixpkgs. Since rewrite-inspector
# is basically abandonware it catches fire with brick 1.0+.
brick = doJailbreak prev.brick_0_70_1;
# Marked as broken in nixpkgs, since it needs on a newer hashable than the
# .cabal file currently uploaded to hackage.
concurrent-supply = doJailbreak (markUnbroken prev.concurrent-supply);
# Use a branch with changes to support GHC 9.6.1.
hint =
prev.hint.overrideAttrs (_: {
src =
pkgs.fetchFromGitHub {
owner = "haskell-hint";
repo = "hint";
rev = "7803c34c8ae1d83c0f7c13fe6b30fcb3abd0ac51";
hash = "sha256-ZFusrioxjDmWnDktD1evu7EjPG6brYpmmcaE2NWQKGA=";
};
});
# Marked as broken in nixpkgs, since it specifies much older dependencies
# than the defaults in nixpkgs.
rewrite-inspector = doJailbreak (markUnbroken prev.rewrite-inspector);
# We want a version that matches with singletons-th, but the tests in here
# are also a bit flaky since GHC 9.6 isn't officially supported.
singletons-base = dontCheck prev.singletons-base_3_2;
# Use a newer version than the default in nixpkgs.
singletons-th = prev.singletons-th_3_2;
# Needs a newer text than the .cabal file currently uploaded to hackage.
string-qq = doJailbreak prev.string-qq;
# Needs a newer version than the default in nixpkgs.
th-desugar = prev.th-desugar_1_15;
# Needs a newer base than the .cabal file currently uploaded to hackage.
vector-binary-instances = doJailbreak prev.vector-binary-instances;
# Use a newer version than the default in nixpkgs.
th-abstraction = prev.th-abstraction_0_5_0_0;
# We can't use newer than 1.12 here: we need singletons 3.x (due to the cabal
# file of `clash-testsuite`) but the changed `DConP` constructor in 1.13
# stops `singletons-th` from building.
doctest = prev.callHackage "doctest" "0.21.1" { };
}