GHC 9.2 should use stm-2.5.0.1
The version used in 9.2.1 is not an official release.
https://github.com/haskell/stm/issues/45 is somewhat related.
The version used in 9.2.1 is not an official release.
https://github.com/haskell/stm/issues/45 is somewhat related.