Skip to content

haskellPackages: update stackage and hackage#171099

Merged
expipiplus1 merged 28 commits intomasterfrom
haskell-updates
May 6, 2022
Merged

haskellPackages: update stackage and hackage#171099
expipiplus1 merged 28 commits intomasterfrom
haskell-updates

Conversation

@cdepillabout
Copy link
Member

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

sternenseemann and others added 4 commits April 29, 2022 15:27
The xhtml library is only built as part of the GHC build process if GHC
is disabled. This means that no GHC cross compiler has xhtml bundled,
since haddock can't be built if GHC is a cross compiler (see relevant
notes in the GHC nix expressions). This means that all packages
depending on xhtml would currently fail to build when cross-compiled, as
haskellPackages would assume it'd be provided by GHC. This is fixed by
this commit.

pkgsStatic hits this case, so we test compilation of xhtml for these
package sets which will remind us to update the attribute name whenever
its version changes.
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 May 1, 2022
@ofborg ofborg bot added 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: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels May 1, 2022
@expipiplus1
Copy link
Contributor

Continuing from #169513 (comment): will wait for pulseaudio to be fixed on master, @turion, I hope that's ok

@NorfairKing
Copy link
Contributor

#171660 @cdepillabout Looks like I had a similar idea. I should have coordinated. How can I help?

@expipiplus1
Copy link
Contributor

Looks like I had a similar idea. I should have coordinated. How can I help?

We try and get at least one update every 2 weeks, this involves bumping the snapshot, and fixing anything in the mergeable set which breaks.

One good way to help would be to add yourself as a maintainer for some packages in /pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml, that way if anything breaks on an update you'll be pinged and have an opportunity to fix it.

@NorfairKing
Copy link
Contributor

@expipiplus1 Thanks! Could I start another PR for the next LTS? Would like to get that in before nixos 22.05 :D

@cdepillabout
Copy link
Member Author

cdepillabout commented May 6, 2022

@NorfairKing We always (or at least almost always) immediately open a new PR after closing the current haskell-updates PR. In fact we have a script that does it for us:

https://github.com/NixOS/nixpkgs/blob/46e402fc6e4c403f29d793bdda5d5ed4313bcf69/maintainers/scripts/haskell/merge-and-open-pr.sh

The next PR is #171763.

If you want to get this PR in as quick as possible, then basically we need help fixing packages that have become broken by this hackage bump (or possibly due to other changes in the rest of Nixpkgs).

You can find the Hydra status in https://hydra.nixos.org/jobset/nixpkgs/haskell-updates, and an easier-to-read build report at https://github.com/cdepillabout/nix-haskell-updates-status.

At this very moment, it appears there was some flakey failure on aarch64-linux, which makes the build report look like there are lots of failures, but if we restart the failed builds on Hydra, it is likely that most of these errors go away. It is quite possible that there are few errors that need fixing.

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

Labels

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: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants