You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: static-stack/README.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,16 @@ If you get an error such as:
18
18
19
19
then update the `hackageSnapshot` date in `default.nix` to a date that includes the package and version.
20
20
21
+
### Temporarily: Use `stack-lts-12.yaml`
22
+
23
+
See #81: Stack's main `stack.yaml` uses GHC 8.2.2, which is no longer in recent `nixpkgs`.
24
+
25
+
If you get an error mentioning `error: attribute 'ghc822' in selection path 'haskell.compiler.ghc822' not found`, then build stack the same way [as our CI does it](https://github.com/nh2/static-haskell-nix/blob/38ef5a4e00b5f6fb421014829320d85899483874/.buildkite/pipeline.yml#L50-L64).
26
+
27
+
Alternatively you can use an older version of `static-haskell-nix` that pins an older version of `nixpkgs` that still has `ghc822`.
28
+
29
+
This issue will likely go away very soon given that [stack is as-of-writing upgrading `stack.yaml` to a newer LTS](https://github.com/commercialhaskell/stack/pull/5162).
30
+
21
31
## Binary caches for faster building (optional)
22
32
23
33
You can use the caches described in the [top-level README](../README.md#binary-caches-for-faster-building-optional) for faster building.
0 commit comments