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

Update Haskell package set to Stackage Nightly 2021-01-01 (plus other fixes) #107593

Merged
merged 25 commits into from Jan 2, 2021

Conversation

peti
Copy link
Member

@peti peti commented Dec 25, 2020

This PR is test-built by Hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. I'll fix up the remaining errors and merge it on Friday, 2021-01-01 20:00 +01:00. You can watch this live on Twitch at https://www.twitch.tv/peti343. In addition to the chat features offered by Twitch, there is also a voice conference at https://discord.gg/YTEa3XR that viewers can use to chat with me and with each other.

@peti
Copy link
Member Author

peti commented Jan 1, 2021

We cannot make it tonight because the re-builds are taking too long. I'll probably make another live stream tomorrow and complete the merge so that Hydra has time to build everything over night.

peti and others added 22 commits January 2, 2021 19:58
This update was generated by hackage2nix v2.15.6 from Hackage revision
commercialhaskell/all-cabal-hashes@50ea639.
Commit 1998b95 “haskellPackages:
update default compiler from ghc 8.10.2 to version 8.10.3” broke Agda
because Agda.cabal incorrectly declares a transformers dependency only
for ghc < 8.10.3:

    if impl(ghc >= 8.6.4) && impl(ghc < 8.10.3)
      build-depends: transformers == 0.5.6.2

    if impl(ghc >= 8.4) && impl(ghc < 8.6.4)
      build-depends: transformers == 0.5.5.0

    if impl(ghc < 8.4)
      build-depends: transformers == 0.5.2.0

leading to this error:

    src/full/Agda/Utils/Maybe.hs:13:1: error:
    Could not load module ‘Control.Monad.Trans.Maybe’
    It is a member of the hidden package ‘transformers-0.5.6.2’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
       |
    13 | import Control.Monad.Trans.Maybe
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
The required versions of pretty-simple and prettyprinter are now used by
default.
The 2.14.2 version is now the default.
The 0.1.0.3 version is now the default.
The latest versions of doctemplates and skylighting are now the default.
The errors we previously ran into have been fixed upstream.
@peti peti changed the title Update Haskell package set (plus other fixes) Update Haskell package set to Stackage Nightly 2021-01-01 (plus other fixes) Jan 2, 2021
@peti peti merged commit 4856e0d into master Jan 2, 2021
@peti
Copy link
Member Author

peti commented Jan 2, 2021

We'll merge #108252 next week!

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

Successfully merging this pull request may close these issues.

None yet

3 participants