Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit 77197e7

Browse files
committed
Address broken hie-compat ghc-lib build
1 parent 23d9156 commit 77197e7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- os: windows-latest
2222
ghc: '8.10.1'
2323
- os: ubuntu-latest
24-
ghc: '8.8.4'
24+
ghc: '8.10.1'
2525
ghc-lib: true
2626

2727
steps:
@@ -66,3 +66,4 @@ jobs:
6666
shell: bash
6767
# run the tests without parallelism to avoid running out of memory
6868
run: cabal test --test-options="-j1 --rerun-update" || cabal test --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test --test-options="-j1 --rerun"
69+
if: ${{ !matrix.ghc-lib}}

hie-compat/hie-compat.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ library
3838

3939
if (impl(ghc > 8.5) && impl(ghc < 8.7) && !flag(ghc-lib))
4040
hs-source-dirs: src-ghc86
41-
if ((impl(ghc > 8.7) && impl(ghc < 8.10)) || flag(ghc-lib))
41+
if (impl(ghc > 8.7) && impl(ghc < 8.10))
4242
hs-source-dirs: src-ghc88 src-reexport
43-
if (impl(ghc > 8.9) && impl(ghc < 8.11))
43+
if (impl(ghc > 8.9) && impl(ghc < 8.11) || flag(ghc-lib))
4444
hs-source-dirs: src-ghc810 src-reexport
4545

0 commit comments

Comments
 (0)