Skip to content

haskellPackages: update stackage and hackage#215925

Merged
sternenseemann merged 43 commits intomasterfrom
haskell-updates
Feb 19, 2023
Merged

haskellPackages: update stackage and hackage#215925
sternenseemann merged 43 commits intomasterfrom
haskell-updates

Conversation

@expipiplus1
Copy link
Contributor

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 #213089. Come to #haskell:nixos.org if you have any questions.

This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
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 github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Feb 12, 2023
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Feb 12, 2023
@ncfavier ncfavier mentioned this pull request Feb 12, 2023
13 tasks
ncfavier and others added 8 commits February 12, 2023 23:41
haskellPackages.persistent-sqlite: disable tests
Since we now have a versioned configuration-ghc-*.nix file for GHC HEAD,
we don't need to add a super special case to the package set logic in
test-configurations.nix anymore. We can just create a versioned
attribute for the ghcHEAD package set (which is not exposed) and keep
using the normal discovery logic.

The only tricky bit is that GHC HEAD's configuration file is named after
the GHC release that will be branched off from it, so a little bit of
arithmetic is involved.
Test suite can't currently be built with Stackage LTS-20.
The latest release of sensei added some dependencies we need to make
consistent manually.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
@ofborg ofborg bot requested a review from guibou February 13, 2023 14:47
@ofborg ofborg bot added the 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. label Feb 13, 2023
sternenseemann and others added 4 commits February 13, 2023 23:35
haskellPackages: regenerate package set based on current config

This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
and maintainers/scripts/haskell/regenerate-hackage-packages.sh
GHC 9.2.6 ships a new patch release of bytestring which protolude has
an (apparently unnecessary) upper bound on.
@github-actions github-actions bot added the 6.topic: agda A dependently typed programming language / interactive theorem prover label Feb 14, 2023
dalpd and others added 18 commits February 14, 2023 22:51
haskellPackages.patat: Apply commit from main branch relaxing bounds
This fixes the pkg-config-depends resolution for minicurl.
haskell.packages.ghc884.ghc-lib: downgrade to match ghc-lib-parser
Since there is probably more movement going forward, testing this on
Hydra for multiple GHC versions seems sensible.
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1790868](https://hydra.nixos.org/eval/1790868) of nixpkgs commit [34a7913](https://github.com/NixOS/nixpkgs/commits/34a7913a43b4d57eeb90ad247806adb09bdd8a37) as of 2023-02-18 19:20 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates

Packages with pending PRs fixing them have not been marked broken. Same
goes for type-natural which seems to be affected by a GHC 9.2.6 bug:
https://gitlab.haskell.org/ghc/ghc/-/issues/23000
@sternenseemann
Copy link
Member

bytepatch & h-raylib will be temporarily marked broken, but the next hackage bump should fix them.

haskell.packages.*.ghc-tags: pick compatible version
release-haskell.nix: reflect release of GHC 9.2.6
@ofborg ofborg bot added the 8.has: clean-up This PR removes packages or removes other cruft label Feb 18, 2023
sternenseemann and others added 5 commits February 18, 2023 21:55
Since the overrides are practically the same for all but the latest GHC
version, we can move the override into configuration-common.nix and rely
on a few conditionals in the overlay assembly — and end up with less
copying around!
Annoyingly weird match since 9.2.4's process version is too old, but
that should go away soon-ish anyways. Prevents mismatches in overrides.
The package depends on cabal-install and Cabal which need later versions
of a few packages than we have in our default package set.
@sternenseemann sternenseemann merged commit 6d4d75f into master Feb 19, 2023
@sternenseemann
Copy link
Member

Known issue: GHC 9.2.6 panics when compiling some profiling objects: https://gitlab.haskell.org/ghc/ghc/-/issues/23000

Workaround is disabling profiling for affected packages (which we should do for type-naturals probably in the next PR).

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

Labels

6.topic: agda A dependently typed programming language / interactive theorem prover 6.topic: haskell General-purpose, statically typed, purely functional programming language 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants