yi-editor / yi

The Haskell-Scriptable Editor
GNU General Public License v2.0
1.5k stars 199 forks source link

`yi-core` fails to build with GHC 7.10 #1122

Open andreasabel opened 2 years ago

andreasabel commented 2 years ago
$ cabal install yi-core -w ghc-7.10.3
Building library for yi-core-0.19.2..

src/Yi/Buffer/HighLevel.hs:130:18-35:
    Could not find module ‘Data.List.NonEmpty’
    It is a member of the hidden package ‘semigroups-0.19.1@IfBn1hkRmOv6mXQ39hiLLF
    Perhaps you need to add ‘semigroups’ to the build-depends in your .cabal file.

src/Yi/CompletionTree.hs:42:18-31:
    Could not find module ‘Data.Semigroup’
    It is a member of the hidden package ‘semigroups-0.19.1@IfBn1hkRmOv6mXQ39hiLLF’. 
...

src/Yi/Interact.hs:74:18-35:
    Could not find module ‘Control.Monad.Fail’
    It is a member of the hidden package ‘fail-4.9.0.0@4KThSkAsGNaKwJs42ZI3Ju’.
...

I made a revision on hackage to require base >= 4.9: https://hackage.haskell.org/package/yi-core-0.19.2/revisions/

Please bump to base >= 4.9 if you do not intend to support GHC 7.10.

Same problem for: