tweag / ormolu

A formatter for Haskell source code
https://ormolu-live.tweag.io
Other
958 stars 83 forks source link

doesn't install on ghc 9.2.1 #831

Closed GeorgeCo closed 2 years ago

GeorgeCo commented 2 years ago

doesn't install on ghc 9.2.1

bash-3.2$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.2.1
$ cabal install ormolu --allow-new
...
Building library for ormolu-0.3.1.0..
[ 1 of 47] Compiling GHC.DynFlags     ( src/GHC/DynFlags.hs, dist/build/GHC/DynFlags.o, dist/build/GHC/DynFlags.dyn_o )

src/GHC/DynFlags.hs:28:13: error:
    Not in scope: ‘platformMini’
    Perhaps you meant one of these:
      ‘platformMisc’ (imported from GHC.Driver.Session),
      data constructor ‘PlatformMisc’ (imported from GHC.Settings),
      ‘platformMinInt’ (imported from GHC.Platform)
   |
28 |             platformMini =
   |             ^^^^^^^^^^^^
...
bash-3.2$ sw_vers
ProductName:    macOS
ProductVersion: 12.0.1
BuildVersion:   21A559
amesgen commented 2 years ago

Will be fixed by https://github.com/tweag/ormolu/pull/779 which should hopefully happen in the near future. Closing as a duplicate of https://github.com/tweag/ormolu/issues/794.

GeorgeCo commented 2 years ago

Thanks for the very quick response, good news 👍

On Fri, Nov 5, 2021 at 9:52 AM amesgen @.***> wrote:

Will be fixed by #779 https://github.com/tweag/ormolu/pull/779 which should hopefully happen in the near future. Closing as a duplicate of #794 https://github.com/tweag/ormolu/issues/794.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tweag/ormolu/issues/831#issuecomment-961871401, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQIJ62N5IOU3JM52CZTTE3UKPHQ5ANCNFSM5HNXUTVQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.