Skip to content

Commit b525e7b

Browse files
committed
Symlink default stack configs to version specific configs too
1 parent 94b7222 commit b525e7b

4 files changed

+67
-67
lines changed

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.yaml

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

stackage_snapshot.yaml

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

stackage_snapshot_9.4.6.yaml

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

stackage_snapshot_9.4.6.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# We drop the Win32 package from the stack snapshot so that stack considers it a toolchain library.
2+
# In this case we will use the Win32 provided by the compiler instead of recompiling it.
3+
#
4+
# Recompiling it should be fine for future versions of Win32,
5+
# but with versions <= 2.13.2.0 we encounter the following issue:
6+
# https://github.com/haskell/win32/issues/193
7+
8+
resolver: lts-21.11
9+
10+
drop-packages:
11+
- Win32
12+
13+
packages:
14+
- git: https://github.com/tweag/cabal
15+
commit: 4f8c4ab8274320c1a00992c9aa7c6559ff190fa9
16+
subdirs:
17+
- Cabal
18+
19+
# See https://github.com/avdv/proto-lens#readme
20+
- git: https://github.com/avdv/proto-lens
21+
commit: 2ab0a8d1ec1f54f3d1a0ecd1a257311389126490
22+
23+
# support GHC 9.4 (see https://github.com/google/ghc-source-gen/pull/102)
24+
- git: https://github.com/google/ghc-source-gen
25+
commit: 7527305ed59a47140053cf7bc87432fe1f8804d0
26+
27+
# stackage lts-21.11/ghc 9.4.6 only contain Win32-2.12.0.1
28+
flags:
29+
ansi-terminal:
30+
Win32-2-13-1: false

0 commit comments

Comments
 (0)