Skip to content

Commit 0bf1f7e

Browse files
authored
Merge branch 'master' into ghc-927
2 parents 649ae2d + 6640ebf commit 0bf1f7e

File tree

7 files changed

+25
-8
lines changed

7 files changed

+25
-8
lines changed

.github/workflows/bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
example: ['cabal', 'lsp-types']
122122

123123
steps:
124-
- uses: haskell/actions/setup@v2.3.6
124+
- uses: haskell/actions/setup@v2.3.7
125125
with:
126126
ghc-version : ${{ matrix.ghc }}
127127
cabal-version: ${{ matrix.cabal }}

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ package *
5555

5656
write-ghc-environment-files: never
5757

58-
index-state: 2023-03-30T00:00:00Z
58+
index-state: 2023-04-19T12:00:00Z
5959

6060
constraints:
6161
-- For GHC 9.4, older versions of entropy fail to build on Windows

configuration-ghc-96.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ let
4242
ptr-poker = hself.callCabal2nix "ptr-poker" inputs.ptr-poker { };
4343

4444
ormolu = hself.ormolu_0_5_3_0;
45+
fourmolu = hself.callCabal2nix "fourmolu" inputs.fourmolu-012 { };
4546

4647
stylish-haskell = appendConfigureFlag hsuper.stylish-haskell "-fghc-lib";
4748

flake.lock

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

flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@
5959
url = "github:alanz/ghc-exactprint/ghc-9.6";
6060
flake = false;
6161
};
62+
63+
fourmolu-012 = {
64+
url = "https://hackage.haskell.org/package/fourmolu-0.12.0.0/fourmolu-0.12.0.0.tar.gz";
65+
flake = false;
66+
};
6267
};
6368
outputs =
6469
inputs@{ self, nixpkgs, flake-compat, flake-utils, gitignore, ... }:

haskell-language-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ common floskell
334334
cpp-options: -Dhls_floskell
335335

336336
common fourmolu
337-
if flag(fourmolu) && impl(ghc < 9.5)
337+
if flag(fourmolu)
338338
build-depends: hls-fourmolu-plugin ^>= 1.1
339339
cpp-options: -Dhls_fourmolu
340340

plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ source-repository head
2323
location: git://github.com/haskell/haskell-language-server.git
2424

2525
library
26-
if impl(ghc >= 9.5)
27-
buildable: False
26+
buildable: True
2827
exposed-modules:
2928
Ide.Plugin.Fourmolu
3029
, Ide.Plugin.Fourmolu.Shim
@@ -33,7 +32,7 @@ library
3332
build-depends:
3433
, base >=4.12 && <5
3534
, filepath
36-
, fourmolu ^>=0.3 || ^>=0.4 || ^>= 0.6 || ^>= 0.7 || ^>= 0.8 || ^>= 0.9 || ^>= 0.10 || ^>= 0.11
35+
, fourmolu ^>=0.3 || ^>=0.4 || ^>= 0.6 || ^>= 0.7 || ^>= 0.8 || ^>= 0.9 || ^>= 0.10 || ^>= 0.11 || ^>= 0.12
3736
, ghc
3837
, ghc-boot-th
3938
, ghcide ^>= 1.9 || ^>= 1.10
@@ -49,8 +48,7 @@ library
4948
default-language: Haskell2010
5049

5150
test-suite tests
52-
if impl(ghc >= 9.5)
53-
buildable: False
51+
buildable: True
5452
type: exitcode-stdio-1.0
5553
default-language: Haskell2010
5654
hs-source-dirs: test

0 commit comments

Comments
 (0)