Skip to content

Commit cbf5726

Browse files
authored
Merge pull request #2183 from tweag/cb/fix-default-ghc-snapshot
rules_haskell_tests: Fix ghcide stack pointing to wrong snapshot file
2 parents 5e8a6bc + b525e7b commit cbf5726

8 files changed

+315
-315
lines changed

rules_haskell_tests/ghcide-snapshot.json

Lines changed: 0 additions & 192 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ghcide-snapshot_9.4.6.json

rules_haskell_tests/ghcide-snapshot_9.2.8.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

rules_haskell_tests/ghcide-snapshot_9.2.8.json

Lines changed: 192 additions & 0 deletions
Large diffs are not rendered by default.

rules_haskell_tests/ghcide-stack-snapshot.yaml

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ghcide-stack-snapshot_9.4.6.yaml

rules_haskell_tests/ghcide-stack-snapshot_9.2.8.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
resolver: lts-20.26
2+
packages:
3+
- co-log-core-0.3.2.0
4+
- ghcide-1.8.0.0
5+
- heapsize-0.3.0.1
6+
- hie-bios-0.11.0
7+
- hie-compat-0.3.0.0
8+
- hiedb-0.4.2.0
9+
- hls-graph-1.8.0.0
10+
- hls-plugin-api-1.5.0.0
11+
- implicit-hie-0.1.4.0
12+
- implicit-hie-cradle-0.5.0.0
13+
- lsp-1.6.0.0
14+
- lsp-test-0.14.1.0
15+
- retrie-1.2.1.1
16+
- terminal-size-0.3.3
17+
- git: https://github.com/tweag/cabal
18+
commit: 42f04c3f639f10dc3c7981a0c663bfe08ad833cb
19+
subdirs:
20+
- Cabal
21+
22+
# We drop the Win32 package from the stack snapshot so that stack considers it a toolchain library.
23+
# In this case we will use the Win32 provided by the compiler instead of recompiling it.
24+
#
25+
# Recompiling it should be fine for future versions of Win32,
26+
# but with versions <= 2.13.2.0 we encounter the following issue:
27+
# https://github.com/haskell/win32/issues/193
28+
drop-packages:
29+
- Win32
30+
31+
32+
# stackage lts-20.26/ghc 9.2.8 only contains Win32-2.12.0.1
33+
flags:
34+
ansi-terminal:
35+
Win32-2-13-1: false

stackage_snapshot.json

Lines changed: 0 additions & 54 deletions
This file was deleted.

stackage_snapshot.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stackage_snapshot_9.4.6.json

0 commit comments

Comments
 (0)