Skip to content

Commit

Permalink
rules_haskell_tests: Fix ghcide stack pointing to wrong snapshot file
Browse files Browse the repository at this point in the history
The stack snapshot for GHC 9.2.8 was a symlink to the default snapshot file. So
when no `GHC_VERSION` was set in the environment, it meant the default snapshot
file was used, which is the one for GHC 9.2 but the default GHC version is 9.4.6.

This led to an error on buildkite as `base` in GHC 9.4 was bumped to 4.17:
```
Error: Setup.hs: Encountered missing or private dependencies:
base >=4.8 && <4.17
```

Symlink the default stack snapshot files to the specific version (not the other
way around).
  • Loading branch information
avdv committed May 6, 2024
1 parent 5e8a6bc commit 94b7222
Show file tree
Hide file tree
Showing 4 changed files with 248 additions and 248 deletions.
Loading

0 comments on commit 94b7222

Please sign in to comment.