gregwebs / ghc-docker-dev

A docker container for hacking on the Haskell GHC compiler
MIT License
21 stars 12 forks source link

ghc requires happy 1.19.10 but the docker only has 1.19.9 and debian stretch doesn't even have that version #12

Open code5hot opened 5 years ago

code5hot commented 5 years ago

ghc requires happy 1.19.10 but the docker only has 1.19.9 and debian doesn't even have that version until the testing release.

By deduction, ghc's CI doesn't check that this docker is compatible when someone tries to make ghc use later package versions.

I can stomp this fire with a pull-request to use bullseye (the debian "testing" release) but I can't complete the fix with a fireguard via CI - someone else will have to complete this issue with that.

code5hot commented 5 years ago

https://github.com/gregwebs/ghc-docker-dev/pull/13

code5hot commented 5 years ago

Is there an automated build of this somewhere so I can try it? With the state of OSS these days I don't expect it's possible to install the right combination of versions of the prerequisites on my own computer.

code5hot commented 5 years ago

hm, it seems I've misunderstood the docker file in my pull request so it probably doesn't fix the problem. So I wonder, why is happy < 1.19.10 in the image?

code5hot commented 5 years ago

curiously, happy 1.19.10 is available among the configured repositories - it's just not installed in the image by default

code5hot commented 5 years ago

13 might be a good idea anyway since it looks like the intention that this configuration is parameterised by the time of rebuild and that moment's associated debian.org configuration. However, perhaps there's a prerequisite to update the haskell.org servers to add and provision a "testing" pool