Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get back into Stackage Nightly with GHC 9.8 #2563

Open
ysangkok opened this issue Dec 29, 2023 · 4 comments
Open

Get back into Stackage Nightly with GHC 9.8 #2563

ysangkok opened this issue Dec 29, 2023 · 4 comments

Comments

@ysangkok
Copy link
Contributor

dhall packages were thrown out because of bound issues:

See relevant section of build-constraints.yml

@ysangkok
Copy link
Contributor Author

ysangkok commented May 1, 2024

@krakrjak
Copy link

Bump... Seems it Dhall didn't make the cut for stackage 23.0. I would love to see it make a triumphant return in 23.1 if possible.

@TeofilC
Copy link
Contributor

TeofilC commented Dec 15, 2024

Hopefully #2602 should have relaxed all the necessary bounds so maybe this is just waiting on a Hackage revision/release?

@ysangkok
Copy link
Contributor Author

@TeofilC Unfortunately not, as lts-23.0 has Diff-0.5 which is not supported by the revised dhall-1.42.1:

cabal get dhall, cd dhall-1.42.1, stack init --resolver lts-23.0 . reports:

             Diff version 0.5 found
                 - dhall requires >=0.2 && <0.5

Note that the newest version is Diff-1.0.2 which is in Nightly already.

Another issue is special-values, which doesn't support bytestring-0.12.

Doctests run with cabal repl --with-ghc=doctest also fail. But maybe that's just not the right way to run them? I like that method because it means avoiding environment files and statefulness. Here is an example error:

src/Dhall/Deriving.hs:307: failure in expression `input person "./simon.dhall"'
expected: Person {personName = Name {getName = \"Simon\"}, personFavoriteFont = ComicSans}
 but got: *** Exception:
          ^
          \8627 ./simon.dhall
          
          \ESC[1;31mError\ESC[0m: Missing file ./simon.dhall
          
          1\9474 ./simon.dhall
          
          (input):1:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants