Skip to content

Commit 4ec5fa2

Browse files
committed
Update stack snapshots symlinks to use 9.4.6 by default
1 parent 4dd62ad commit 4ec5fa2

16 files changed

+319
-348
lines changed

rules_haskell_tests/stackage-pinning-test.yaml

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stackage-pinning-test_9.4.6.yaml

rules_haskell_tests/stackage-pinning-test_9.2.8.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
resolver: "lts-20.26"
2+
packages:
3+
- github: hspec/hspec
4+
# NOTE Keep in sync with resolver version
5+
commit: "4a4b27cb1d5284c94228c9c76c5fe79215597fb7"
6+
sha256: "fb96ed7dd3e2b792300f3bc8bd2affc6bf78093289815f76ec785fea6d91be68"
7+
subdirs:
8+
- .
9+
- hspec-contrib
10+
- hspec-core
11+
- hspec-discover
12+
13+
- archive: https://github.com/tweag/rules_haskell/raw/e4e74f17f743488f564bd0d69c580106d5b910a5/tests/haskell_cabal_library_sublibrary_name/package1.tar
14+
sha256: "302d8ddda8330c825da61fe0a2315c899ab083e641c7716ebdacb5c951682445"
15+
- git: https://github.com/tweag/cabal
16+
commit: 42f04c3f639f10dc3c7981a0c663bfe08ad833cb
17+
subdirs:
18+
- Cabal
19+
20+
# We drop the Win32 package from the stack snapshot so that stack considers it a toolchain library.
21+
# In this case we will use the Win32 provided by the compiler instead of recompiling it.
22+
#
23+
# Recompiling it should be fine for future versions of Win32,
24+
# but with versions <= 2.13.2.0 we encounter the following issue:
25+
# https://github.com/haskell/win32/issues/193
26+
drop-packages:
27+
- Win32
28+
29+
# stackage lts-20.26/ghc 9.2.8 only contains Win32-2.12.0.1
30+
flags:
31+
ansi-terminal:
32+
Win32-2-13-1: false

rules_haskell_tests/stackage-pinning-test_snapshot.json

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stackage-pinning-test_snapshot_9.4.6.json

rules_haskell_tests/stackage-pinning-test_snapshot_9.2.8.json

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

0 commit comments

Comments
 (0)