dhall-lang / dhall-json

This repository has moved to https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-json
BSD 3-Clause "New" or "Revised" License
65 stars 6 forks source link

1.1.0 build failure #24

Closed ilovezfs closed 6 years ago

ilovezfs commented 6 years ago
Building library for dhall-json-1.1.0..
[1 of 1] Compiling Dhall.JSON       ( src/Dhall/JSON.hs, dist/dist-sandbox-a87d045f/build/Dhall/JSON.o )

src/Dhall/JSON.hs:212:45: error:
    • Couldn't match type ‘[Char]’
                     with ‘trifecta-1.7.1.1:Text.Trifecta.Delta.Delta’
      Expected type: trifecta-1.7.1.1:Text.Trifecta.Delta.Delta
        Actual type: String
    • In the first argument of ‘Dhall.Parser.exprFromText’, namely
        ‘(Data.Text.unpack name)’
      In the expression:
        Dhall.Parser.exprFromText
          (Data.Text.unpack name) (Data.Text.Lazy.fromStrict code)
      In a stmt of a 'do' block:
        expr <- case
                    Dhall.Parser.exprFromText
                      (Data.Text.unpack name) (Data.Text.Lazy.fromStrict code)
                of
                  Left err -> throwIO err
                  Right expr -> return expr
    |
212 |     expr <- case Dhall.Parser.exprFromText (Data.Text.unpack name) (Data.Text.Lazy.fromStrict code) of
    |                                             ^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
dhall-json-1.1.0-BY8sJc7rqyqBzpC2NNoGuA failed during the building phase. The
exception was:
ExitFailure 1

https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/23158/version=el_capitan/testReport/junit/brew-test-bot/el_capitan/install_dhall_json/

ilovezfs commented 6 years ago

same failure detected on hackage matrix https://matrix.hackage.haskell.org/package/dhall-json#GHC-8.0/dhall-json-1.1.0

Gabriella439 commented 6 years ago

Fixed by a revision to dhall-json-1.1.0 to update its lower bound to dhall >= 1.13.0

Gabriella439 commented 6 years ago

Closing as I believe this is fixed

ilovezfs commented 6 years ago

Thanks @Gabriel439!

Gabriella439 commented 6 years ago

You're welcome! :)