haskell / docker-haskell

MIT License
61 stars 36 forks source link

9.4.5 doesn't include the correct GHC #108

Closed dtaskoff closed 9 months ago

dtaskoff commented 1 year ago

Running stack build with the following stack.yaml:

resolver: lts-21.0

downloads ghc-tinfo6-libc6-pre232-9.4.5, instead of using the one built into the container.

AlistairB commented 1 year ago

Hi, stack is configured to globally use the pre installed GHC. However, when you use stack in a project by default it will not. I do not think this default is configurable.

If you add:

system-ghc: true
install-ghc: false

to your stack.yaml it should use the GHC installed into the image.

AlistairB commented 9 months ago

Optimistically closing for now. Let us if you think this project still has an issue.