opened
cblp
username_0
ihaskell-magic == 0.1.0.0
```
username_0@carbon:~/dev/ihaskell$ cabal install ihaskell-magic
Resolving dependencies...
Notice: installing into a sandbox located at
/home/username_0/dev/ihaskell/.cabal-sandbox
Configuring ihaskell-magic-0.1.0.0...
Building ihaskell-magic-0.1.0.0...
Failed to install ihaskell-magic-0.1.0.0
Build log ( /home/username_0/dev/ihaskell/.cabal-sandbox/logs/ihaskell-magic-0.1.0.0.log ):
Configuring ihaskell-magic-0.1.0.0...
Building ihaskell-magic-0.1.0.0...
Preprocessing library ihaskell-magic-0.1.0.0...
[1 of 1] Compiling IHaskell.Display.Magic ( IHaskell/Display/Magic.hs, dist/dist-sandbox-56d693ce/build/IHaskell/Display/Magic.o )

IHaskell/Display/Magic.hs:34:33:
    Couldn't match type `ByteString' with `T.Text'
    Expected type: ByteString -> Base64
      Actual type: ByteString -> ByteString
    In the second argument of `(.)', namely `Base64.encode'
    In the expression: png w h . Base64.encode
    In an equation for `withClass':
        withClass (PNG w h) = png w h . Base64.encode

IHaskell/Display/Magic.hs:35:31:
    Couldn't match type `ByteString' with `T.Text'
    Expected type: ByteString -> Base64
      Actual type: ByteString -> ByteString
    In the second argument of `(.)', namely `Base64.encode'
    In the expression: jpg 400 300 . Base64.encode
    In an equation for `withClass':
        withClass JPG = jpg 400 300 . Base64.encode
cabal: Error: some packages failed to install:
ihaskell-magic-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1
```
ihaskell-magic: Couldn't match type `ByteString' with `T.Text'
issue
created
gibiansky
username_1
Does this happen with `ihaskell-magic` from the Github repo, or just from Hackage? Hackage is probably outdated, sorry.
comment
created
cblp
username_0
It's from Hackage. How about updating?
comment
created
gibiansky
username_1
Yeah, I should update all the `ihaskell-display` packages. There was a while in which things were in flux and so they were changing too quickly, but now I really have no excuse. Will do soon.
comment
closed
gibiansky
username_1
issue
created
gibiansky
username_1
All display packages (and other packages) have been updated now. Closing issue. Open new issue if you have more trouble! Sorry for the delay.
comment