Skip to content

Commit

Permalink
Symlink default stack configs to version specific configs too
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed May 6, 2024
1 parent 94b7222 commit b525e7b
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 67 deletions.
35 changes: 0 additions & 35 deletions rules_haskell_tests/ghcide-stack-snapshot.yaml

This file was deleted.

1 change: 1 addition & 0 deletions rules_haskell_tests/ghcide-stack-snapshot.yaml
1 change: 0 additions & 1 deletion rules_haskell_tests/ghcide-stack-snapshot_9.2.8.yaml

This file was deleted.

35 changes: 35 additions & 0 deletions rules_haskell_tests/ghcide-stack-snapshot_9.2.8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
resolver: lts-20.26
packages:
- co-log-core-0.3.2.0
- ghcide-1.8.0.0
- heapsize-0.3.0.1
- hie-bios-0.11.0
- hie-compat-0.3.0.0
- hiedb-0.4.2.0
- hls-graph-1.8.0.0
- hls-plugin-api-1.5.0.0
- implicit-hie-0.1.4.0
- implicit-hie-cradle-0.5.0.0
- lsp-1.6.0.0
- lsp-test-0.14.1.0
- retrie-1.2.1.1
- terminal-size-0.3.3
- git: https://github.com/tweag/cabal
commit: 42f04c3f639f10dc3c7981a0c663bfe08ad833cb
subdirs:
- Cabal

# We drop the Win32 package from the stack snapshot so that stack considers it a toolchain library.
# In this case we will use the Win32 provided by the compiler instead of recompiling it.
#
# Recompiling it should be fine for future versions of Win32,
# but with versions <= 2.13.2.0 we encounter the following issue:
# https://github.com/haskell/win32/issues/193
drop-packages:
- Win32


# stackage lts-20.26/ghc 9.2.8 only contains Win32-2.12.0.1
flags:
ansi-terminal:
Win32-2-13-1: false
30 changes: 0 additions & 30 deletions stackage_snapshot.yaml

This file was deleted.

1 change: 1 addition & 0 deletions stackage_snapshot.yaml
1 change: 0 additions & 1 deletion stackage_snapshot_9.4.6.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions stackage_snapshot_9.4.6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# We drop the Win32 package from the stack snapshot so that stack considers it a toolchain library.
# In this case we will use the Win32 provided by the compiler instead of recompiling it.
#
# Recompiling it should be fine for future versions of Win32,
# but with versions <= 2.13.2.0 we encounter the following issue:
# https://github.com/haskell/win32/issues/193

resolver: lts-21.11

drop-packages:
- Win32

packages:
- git: https://github.com/tweag/cabal
commit: 4f8c4ab8274320c1a00992c9aa7c6559ff190fa9
subdirs:
- Cabal

# See https://github.com/avdv/proto-lens#readme
- git: https://github.com/avdv/proto-lens
commit: 2ab0a8d1ec1f54f3d1a0ecd1a257311389126490

# support GHC 9.4 (see https://github.com/google/ghc-source-gen/pull/102)
- git: https://github.com/google/ghc-source-gen
commit: 7527305ed59a47140053cf7bc87432fe1f8804d0

# stackage lts-21.11/ghc 9.4.6 only contain Win32-2.12.0.1
flags:
ansi-terminal:
Win32-2-13-1: false

0 comments on commit b525e7b

Please sign in to comment.