Closed jneira closed 6 years ago
I think the build-type
thing is resolved if you upgrade your Stack, which only supports Cabal 2.2 from version 1.7.1. Really, Stack 1.6 ought not to be trying to read a 2.2-spec file at all if it doesn't understand it. On the other hand, the error message is poor and I suspect it'll also happen with prior versions of cabal-install, which also aren't so strict about rejecting cabal-version
when it's too high, so it probably makes sense to work around. Worth having a comment explaining the situation, though, so that no-one tries to remove the 'redundant' build-type
.
Thanks for the clarification, i suppose the comment should be only in dhall file, right?
@jneira out of interest, are you on stack < 1.7.1?
@ocharles yeah, 1.6.5 in one of my computers, i think i have 1.7.* in the other one
@ocharles does it need me to do some action?
@jneira No action, I've just had a busy week. Catching up now.
Just lts-12 was released so i am gonna update the stack.yaml to use it
After changes to bump cabal spec version of dhall-to-cabal to 2.2 the project cant be built with stack. I've found 2 issues:
custom
by default like cabal spec < 2.2 and throws an error:No Setup.hs or Setup.lhs file found in D:\ws\eta\dhall\dhall-to-etlas\
). At least with my version: 1.6.5