jonascarpay / calligraphy

haskell source code visualizer
BSD 3-Clause "New" or "Revised" License
97 stars 13 forks source link

fails to build for ghc-9.6 stackage nightly #28

Closed juhp closed 1 year ago

juhp commented 1 year ago
       Building library for calligraphy-0.1.4..                                                                                     
       [ 1 of 16] Compiling Calligraphy.Compat.GHC                                                                                  

       /var/stackage/work/unpack-dir/unpacked/calligraphy-0.1.4-64f21f0a1103f85c7459da488d68ab826301a1e9f8163a03b69831e07abadb2b/src
/Calligraphy/Compat/GHC.hs:57:1: error:                                                                                             
           Could not find module ‘GHC.Unit.Module.Name’                                                                             
           Perhaps you meant                                                                                                        
             GHC.Unit.Module.Env (from ghc-9.6.2)                                                                                   
             GHC.Unit.Module.Env (needs flag -package-id ghc-lib-parser-9.6.2.20230523)                                             
             GHC.Unit.Module.Deps (from ghc-9.6.2)                                                                                  
           Use -v (or `:set -v` in ghci) to see a list of the files searched for.                                                   
          |                                                                                                                         
       57 | import GHC.Unit.Module.Name                                                                                             
          | ^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                             

       /var/stackage/work/unpack-dir/unpacked/calligraphy-0.1.4-64f21f0a1103f85c7459da488d68ab826301a1e9f8163a03b69831e07abadb2b/src
/Calligraphy/Util/Printer.hs:16:37: error: [GHC-76037]                                                                              
           Not in scope: type constructor or class ‘Ap’                                                                             
          |                                                                                                                         
       16 |   deriving (Semigroup, Monoid) via (Ap Printer a)                                                                       
          |                                     ^^