Closed mitchellwrosen closed 6 years ago
I'm on dhall-1.17.0
, dhall-to-cabal-1.3.0.1
I think dhall-to-cabal-1.3.0.1
uses dhall-1.16.1
and there have been changes that will have affected the calculation of the hash.
Could you build it from master? it already uses dhall-1.17.0
Alternatively you can compute the hash using the old protocol version of dhall with dhall hash --protocol-version 1.0 < file.dhall
: it should be the same one dhall-to-cabal-1.3.0.1
uses
That's exactly it! Thank you sir.
Given a dhall file such as:
I can use
dhall
to evaluate it as:However,
dhall-to-cabal
seems to calculate the wrong hash:Am I possibly misunderstanding how this all fits together? (I know
flag.dhall
does not make a valid cabal file, butdhall-to-cabal
doesn't get that far.)