kowainik / extensions

👅 Parse Haskell Language Extensions
Mozilla Public License 2.0
48 stars 9 forks source link

extensions-0.1.0.1 not compatible with Cabal 3.12 #95

Open soulomoon opened 5 months ago

soulomoon commented 5 months ago

Cabal 3.12 would come with multi home unit support, please consdier release a new version for it.

tomjaguarpaw commented 5 months ago

Yes, absolutely. But I don't understand: how does whether extensions supports 3.12 or not affect whether you can use 3.12 for other things?

soulomoon commented 5 months ago

Yes, absolutely. But I don't understand: how does whether extensions supports 3.12 or not affect whether you can use 3.12 for other things?

Yes, we are trying testing HLS codebase with HLS in cabal 3.12 prerelease https://gitlab.haskell.org/haskell/cabal/-/jobs. Since cabal 3.12's multiple home component repl impose a constraint. In order to use it, its' package must be able to setup using Cabal >= 3.12 extensions is introduced to HLS as stan's dependencies.

tomjaguarpaw commented 5 months ago

I see, that makes sense. Yes, HLS is one of the very few reverse dependencies of extensions.

tomjaguarpaw commented 5 months ago

Fixed by https://github.com/kowainik/extensions/pull/96 and uploaded to Hackage as https://hackage.haskell.org/package/extensions-0.1.0.2. Please let me know whether that works.

soulomoon commented 5 months ago

Fixed by #96 and uploaded to Hackage as https://hackage.haskell.org/package/extensions-0.1.0.2. Please let me know whether that works.

Thank you for the fast action, we are currently blocking by more https://github.com/haskell/haskell-language-server/issues/4219. To see if it works, All HLS deps need to support Cabal 3.12. I'll report it when it is done.