Skip to content

Commit cf5cbec

Browse files
committed
Attempt to use Fourmolu 0.5 on GHC 8.10.7
1 parent 434678e commit cf5cbec

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

cabal.project

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ index-state: 2022-01-24T21:03:03Z
4545

4646
constraints:
4747
hyphenation +embed
48+
haskell-language-server -stylishhaskell
4849

4950
allow-newer:
5051
-- for shake-bench

flake.lock

+39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+20
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,22 @@
5555
url = "https://hackage.haskell.org/package/hlint-3.3.6/hlint-3.3.6.tar.gz";
5656
flake = false;
5757
};
58+
implicit-hie-cradle = {
59+
url = "https://hackage.haskell.org/package/implicit-hie-cradle-0.3.0.5/implicit-hie-cradle-0.3.0.5.tar.gz";
60+
flake = false;
61+
};
62+
Cabal = {
63+
url = "https://hackage.haskell.org/package/Cabal-3.6.2.0/Cabal-3.6.2.0.tar.gz";
64+
flake = false;
65+
};
66+
ghc-lib-parser = {
67+
url = "https://hackage.haskell.org/package/ghc-lib-parser-9.2.1.20220109/ghc-lib-parser-9.2.1.20220109.tar.gz";
68+
flake = false;
69+
};
70+
# ghc-lib-parser-old = {
71+
# url = "https://hackage.haskell.org/package/ghc-lib-parser-8.10.7.20210828/ghc-lib-parser-8.10.7.20210828.tar.gz";
72+
# flake = false;
73+
# };
5874
};
5975
outputs =
6076
inputs@{ self, nixpkgs, flake-compat, flake-utils, pre-commit-hooks, gitignore, ... }:
@@ -109,6 +125,10 @@
109125
# We need an older version
110126
hiedb = hself.hiedb_0_4_1_0;
111127

128+
fourmolu = hsuper.callCabal2nix "fourmolu" inputs.fourmolu {};
129+
Cabal = hsuper.callCabal2nix "Cabal" inputs.Cabal {};
130+
ghc-lib-parser = hsuper.callCabal2nix "ghc-lib-parser" inputs.ghc-lib-parser {};
131+
112132
lsp = hsuper.callCabal2nix "lsp" inputs.lsp {};
113133
lsp-types = hsuper.callCabal2nix "lsp-types" inputs.lsp-types {};
114134
lsp-test = hsuper.callCabal2nix "lsp-test" inputs.lsp-test {};

0 commit comments

Comments
 (0)