Skip to content

Commit efa11d0

Browse files
Merge branch 'master' into 2021-12-07-ci-bootstrap-org
2 parents 162eb10 + 60880eb commit efa11d0

File tree

3 files changed

+17
-67
lines changed

3 files changed

+17
-67
lines changed

configuration-ghc-901.nix

Lines changed: 6 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -12,63 +12,14 @@ let
1212

1313
hpkgsOverride = hself: hsuper:
1414
with pkgs.haskell.lib;
15-
let
16-
dependent-sum-src = pkgs.fetchFromGitHub {
17-
owner = "anka-213";
18-
repo = "dependent-sum";
19-
rev = "8cf4c7fbc3bfa2be475a17bb7c94a1e1e9a830b5";
20-
sha256 = "WtxTB6ufTZC6SxOtGSfhlO4mY0y9eWejMSa0yUJ7dHQ=";
21-
};
22-
in {
23-
24-
blaze-textual = hself.callCabal2nix "blaze-textual"
25-
(builtins.fetchTarball {
26-
url = "https://hackage.haskell.org/package/blaze-textual-0.2.2.1/blaze-textual-0.2.2.1.tar.gz";
27-
sha256 = "1nyhc9mrnxsl21ksnpp0ryki4wgk49r581yy504g2gjq6x3bkb59";
28-
}) { };
29-
30-
hie-bios = hself.callCabal2nix "hie-bios"
31-
(builtins.fetchTarball {
32-
url = "https://hackage.haskell.org/package/hie-bios-0.7.6/hie-bios-0.7.6.tar.gz";
33-
sha256 = "0w4rhy4b3jnci9m27l79c8n28wl56x49bmhdn7pvf88mx9srjcvq";
34-
}) { };
35-
36-
th-extras = hself.callCabal2nix "th-extras" (pkgs.fetchFromGitHub {
37-
owner = "anka-213";
38-
repo = "th-extras";
39-
rev = "57a97b4df128eb7b360e8ab9c5759392de8d1659";
40-
sha256 = "Qtha1ge/C0L+uFcV2dZ5xpG59DCxQT7LuK/OYfiM4Pk=";
41-
}) { };
42-
43-
dependent-sum =
44-
hself.callCabal2nix "dependent-sum" "${dependent-sum-src}/dependent-sum"
45-
{ };
46-
47-
dependent-sum-template = hself.callCabal2nix "dependent-sum-template"
48-
"${dependent-sum-src}/dependent-sum-template" { };
49-
50-
hlint = hself.hlint_3_3_1;
51-
52-
ghc-lib-parser = hself.ghc-lib-parser_9_0_1_20210324;
53-
54-
ghc-lib-parser-ex = hself.ghc-lib-parser-ex_9_0_0_4;
55-
56-
ormolu = hself.ormolu_0_2_0_0;
57-
58-
diagrams-core = hself.diagrams-core_1_5_0;
59-
60-
diagrams-lib = hself.diagrams-lib_1_4_4;
61-
62-
dual-tree = hself.dual-tree_0_2_3_0;
63-
64-
monoid-extras = hself.monoid-extras_0_6;
15+
{
6516

6617
# Released on hackage, but not in nixpkgs yet
67-
operational = hself.callCabal2nix "operational" (pkgs.fetchFromGitHub {
68-
owner = "HeinrichApfelmus";
69-
repo = "operational";
70-
rev = "2b33e0055066cf92a302ee2c32058dfa44ac8882";
71-
sha256 = "sha256-nwB4vssm4wUTkVryjQVb3peOwR6js7vdekkbaWedHNI=";
18+
primitive-extras = hself.callCabal2nix "primitive-extras" (pkgs.fetchFromGitHub {
19+
owner = "metrix-ai";
20+
repo = "primitive-extras";
21+
rev = "c758d7366b99d85889cb13425fc0140879f8b936";
22+
sha256 = "sha256-vTT7svbM7IkhyxYx2xQ8p1ptoYe+ndcMN5+j9qx++7E=";
7223
}) { };
7324

7425
# Re-generate HLS drv excluding some plugins

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,16 @@
6868
# Don't use `callHackage`, it requires us to override `all-cabal-hashes`
6969
tweaks = hself: hsuper:
7070
with haskell.lib; {
71-
hiedb = hself.callCabal2nix "hiedb"
71+
# Patches don't apply
72+
github = overrideCabal hsuper.github (drv: { patches = []; });
73+
# We need an older version
74+
hiedb = hself.hiedb_0_4_1_0;
75+
76+
implicit-hie-cradle = hself.callCabal2nix "implicit-hie-cradle"
7277
(builtins.fetchTarball {
73-
url = "https://hackage.haskell.org/package/hiedb-0.4.1.0/hiedb-0.4.1.0.tar.gz";
74-
sha256 = "11s7lfkd6fc3zf3kgyp3jhicbhxpn6jp0yjahl8d28hicwr2qdpi";
78+
url = "https://hackage.haskell.org/package/implicit-hie-cradle-0.3.0.5/implicit-hie-cradle-0.3.0.5.tar.gz";
79+
sha256 = "15a7g9x6cjk2b92hb2wilxx4550msxp1pmk5a2shiva821qaxnfq";
7580
}) { };
76-
77-
lsp = hself.lsp_1_2_0_1;
78-
79-
lsp-types = hself.lsp-types_1_3_0_1;
80-
81-
lsp-test = hself.lsp-test_0_14_0_1;
8281
};
8382

8483
hlsSources =

0 commit comments

Comments
 (0)