Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with GHC 9.10 #37

Open
ulysses4ever opened this issue Jul 3, 2024 · 0 comments
Open

Build fails with GHC 9.10 #37

ulysses4ever opened this issue Jul 3, 2024 · 0 comments

Comments

@ulysses4ever
Copy link

Building library for calligraphy-0.1.6...
[ 1 of 19] Compiling Calligraphy.Prelude
[ 2 of 19] Compiling Calligraphy.Compat.GHC
[ 3 of 19] Compiling Calligraphy.Util.Lens
[ 4 of 19] Compiling Calligraphy.Compat.Lib
[ 5 of 19] Compiling Calligraphy.Phases.Search
[ 6 of 19] Compiling Calligraphy.Util.LexTree
[ 7 of 19] Compiling Calligraphy.Util.Optparse
[ 8 of 19] Compiling Calligraphy.Util.Printer
[ 9 of 19] Compiling Calligraphy.Compat.Debug
[10 of 19] Compiling Calligraphy.Util.Types
[11 of 19] Compiling Calligraphy.Phases.Render.Common
[12 of 19] Compiling Calligraphy.Phases.Render.Mermaid
[13 of 19] Compiling Calligraphy.Phases.Render.GraphViz
[14 of 19] Compiling Calligraphy.Phases.Parse
src/Calligraphy/Phases/Parse.hs:105:23: error: [GHC-83865]
    • Couldn't match type ‘ghc-internal-9.1001.0:GHC.Internal.Word.Word64’
                     with ‘Int’
      Expected: GHC.Types.Unique.Unique -> Int
        Actual: GHC.Types.Unique.Unique
                -> ghc-internal-9.1001.0:GHC.Internal.Word.Word64
    • In the first argument of ‘(.)’, namely ‘GHC.getKey’
      In the second argument of ‘(.)’, namely
        ‘GHC.getKey . GHC.nameUnique’
      In the expression: GHCKey . GHC.getKey . GHC.nameUnique
    |
105 | ghcNameKey = GHCKey . GHC.getKey . GHC.nameUnique
    |                       ^^^^^^^^^^

[15 of 19] Compiling Calligraphy.Phases.NodeFilter
[16 of 19] Compiling Calligraphy.Phases.EdgeCleanup
[17 of 19] Compiling Calligraphy.Phases.DependencyFilter
[18 of 19] Compiling Paths_calligraphy
Error: [Cabal-7125]
Failed to build calligraphy-0.1.6 (which is required by exe:calligraphy from calligraphy-0.1.6). See the build log above for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant