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

haskellPackages: update stackage and hackage #149926

Merged
merged 36 commits into from
Dec 21, 2021
Merged

Conversation

maralorn
Copy link
Member

@maralorn maralorn commented Dec 9, 2021

This Merge

This PR is the regular merge of the haskell-updates branch into master.

This branch is being continually built and tested by hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. You may be able to find an up-to-date Hydra build report at cdepillabout/nix-haskell-updates-status.

We roughly aim to merge these haskell-updates PRs at least once every two weeks. See the @NixOS/haskell team calendar for who is currently in charge of this branch.

haskellPackages Workflow Summary

Our workflow is currently described in pkgs/development/haskell-modules/HACKING.md.

The short version is this:

  • We regularly update the Stackage and Hackage pins on haskell-updates (normally at the beginning of a merge window).
  • The community fixes builds of Haskell packages on that branch.
  • We aim at at least one merge of haskell-updates into master every two weeks.
  • We only do the merge if the mergeable job is succeeding on hydra.
  • If a maintained package is still broken at the time of merge, we will only merge if the maintainer has been pinged 7 days in advance. (If you care about a Haskell package, become a maintainer!)

This is the follow-up to #149730. Come to #haskell:nixos.org if you have any questions.

This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
github-actions bot and others added 6 commits December 10, 2021 00:08
Package tests are fixed in the recent version (0.2.6.0).
haskellPackages.Monadoro: remove from broken pkgs
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
@maralorn maralorn changed the title Haskell updates haskellPackages: update stackage and hackage Dec 12, 2021
dalpd and others added 11 commits December 14, 2021 02:26
haskellPackages.pinch: Fix build by bumping `network`
The added nix expression allows maintainers to check for regressions in
the configuration overlays employed by haskellPackages and friends. The
reasoning behind this is that, if we add an override for something, it
should also build. To test this fact, we extract all attributes touched
by a configuration and obtain all relevant derivations corresponding to
it which can then be thrown into nix-build --keep-going.

I've been using this expression to verify configuration-ghc-9.2.x.nix
for a week or so which works quite well. The amount of stale overrides
in other configuration makes it a bit more painful for other use cases
at the moment.
haskell.packages.ghc921.bsb-http-chunked: disable doctest suite

This package's doctest suite is invoked in a weird way apparently which
makes it fail to typecheck with GHC 9.2.1.
hlint introduced GHC 9.2.1 support on its development branch recently.
The warnings help when removing the broken flags when all packages turn
out to build and could also be helpful when investigating failures.
While being able to test them is neat (on x86_64-linux they work very
well, actually), we usually don't want to do this, since the set is
only (recommended to be) used to bootstrap GHC. Consequently there is
almost no binary cache and testing them mostly leads to unenlightening
and seemingly endless compilation.
sternenseemann and others added 7 commits December 15, 2021 17:23
configuration-nix.nix uses builtins.intersectAttrs to not any overrides
for packages not present in `super` (presumably for use outside of
nixpkgs?). To accomodate it, we pass an attribute set with every
attribute of haskellPackages, but set to `null` as `super`, and — while
we're at it — a fix point as `self`.
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
@sternenseemann
Copy link
Member

Note: Last update was 10 days ago, so we should finish this in the next few days to keep our promise of at least biweekly updates. Shouldn't be much work though, as this seems mostly done.

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.

6 participants