summaryrefslogtreecommitdiff
path: root/doc/bugs/ghc_8.0.1_build_fixes/comment_2_4b2c8620824dc625b3aecee9838a04c3._comment
blob: 1a2bb507688d25aeb69a28be16b46fb05cf414cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[[!comment format=mdwn
 username="ilovezfs"
 subject="comment 2"
 date="2016-05-23T16:26:35Z"
 content="""
> How does GHC complain about \"runner\"? 

[[!format  text \"\"\"
Remote/Bup.hs:137:30: error:
    • Couldn't match expected type ‘t’
                  with actual type ‘Utility.Process.CreateProcessRunner
                                    -> CreateProcess -> (Handle -> IO a0) -> IO a0’
      ‘t’ is a rigid type variable bound by
        the inferred type of runner :: t at Remote/Bup.hs:136:13
    • In the expression: feedWithQuietOutput
      In the expression:
        if quiet then feedWithQuietOutput else withHandle StdinHandle
      In an equation for ‘runner’:
          runner
            = if quiet then feedWithQuietOutput else withHandle StdinHandle
    • Relevant bindings include
        runner :: t (bound at Remote/Bup.hs:136:13)
\"\"\"]]

>I've applied your change to Setup-Depends. Oddly, I seem to remember trying the Setup-Depends with the new cabal and thought it was working..


It is working, until I run \"cabal configure\". Then it breaks unless I add those additional dependencies.

I'll check on your other questions in a bit.


"""]]