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.