Skip to content

ghc-paths-0.1.0.9 setup is broken #3626

@phadej

Description

@phadej
cabal: Entering directory '/tmp/cabal-tmp-3198/ghc-paths-0.1.0.9'
[1 of 1] Compiling Main             ( /tmp/cabal-tmp-3198/ghc-paths-0.1.0.9/dist/setup/setup.hs, /tmp/cabal-tmp-3198/ghc-paths-0.1.0.9/dist/setup/Main.o )
/tmp/cabal-tmp-3198/ghc-paths-0.1.0.9/dist/setup/setup.hs:65:7: error:
    • Couldn't match type ‘(Maybe a0, [a1])’
                     with ‘[(ComponentName, BuildInfo)]’
      Expected type: IO HookedBuildInfo
        Actual type: IO (Maybe a0, [a1])
    • In a stmt of a 'do' block: return (Just (read str), [])
      In the expression:
        do { str <- readFile file;
             return (Just (read str), []) }
      In an equation for ‘readHook’:
          readHook _ _
            = do { str <- readFile file;
                   return (Just (read str), []) }

Job: https://travis-ci.org/ekmett/bytes/jobs/147342137

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions