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 #169513

Merged
merged 34 commits into from
May 1, 2022
Merged

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 #168049. 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
cdepillabout and others added 4 commits April 21, 2022 16:31
At some point in hadrian's installation Makefile used for e.g. alpine
bindists 'xxx' is used as a placeholder for three spaces and later
substituted back. This breaks if the store path itself contains 'xxx'.
We adapt an upstream patch which will be part of 9.4 (and presumably
9.0.3 and 9.2.3) as a workaround for this issue for 8.10.2 and 8.10.7
which are the binary GHCs in nixpkgs affected.
@cdepillabout
Copy link
Member Author

haskell-updates build report from hydra

evaluation 1757151 of nixpkgs commit 4d528f2 as of 2022-04-22 12:27 UTC

🟡 Potential issues

  • maintained jobset failed.

Build summary

Platform Failed ❌ DependencyFailed ❗ TimedOut ⌛🚫 Success ✔️
aarch64-linux 📱 30 38 13 6212
x86_64-darwin 🍎 64 36 4 6132
x86_64-linux 🐧 12 16 4 6293

Maintained packages with build failure

Maintained packages with failed dependency

Unmaintained packages with build failure

85 job(s)

Unmaintained packages with failed dependency

61 job(s)

Top 50 broken packages, sorted by number of reverse dependencies

50 job(s)

amazonka-core ⤴️ 186
gogol-core ⤴️ 184
haskell98 ⤴️ 153
enumerator ⤴️ 56
derive ⤴️ 48
amazonka ⤴️ 44
accelerate ⤴️ 42
parseargs ⤴️ 42
syb-with-class ⤴️ 42
MonadCatchIO-transformers ⤴️ 41
data-lens ⤴️ 33
rank1dynamic ⤴️ 33
autodocodec ⤴️ 32
distributed-static ⤴️ 31
language-ecmascript ⤴️ 31
distributed-process ⤴️ 30
ip ⤴️ 29
iteratee ⤴️ 29
jmacro ⤴️ 29
validity-aeson ⤴️ 29
text-format ⤴️ 28
autodocodec-schema ⤴️ 27
mmsyn3 ⤴️ 27
autodocodec-yaml ⤴️ 26
crypto-numbers ⤴️ 26
either-unwrap ⤴️ 25
web-routes-th ⤴️ 24
crypto-pubkey ⤴️ 23
ixset-typed ⤴️ 23
sydtest ⤴️ 23
haskelldb ⤴️ 22
wxdirect ⤴️ 22
amazonka-s3 ⤴️ 21
mmsyn2 ⤴️ 21
subG ⤴️ 21
userid ⤴️ 21
wxc ⤴️ 21
biocore ⤴️ 20
wxcore ⤴️ 20
attoparsec-enumerator ⤴️ 19
bytestring-show ⤴️ 19
fay ⤴️ 19
harp ⤴️ 19
hsx2hs ⤴️ 19
ixset ⤴️ 19
wx ⤴️ 19
asn1-data ⤴️ 18
dbus-core ⤴️ 18
gtksourceview2 ⤴️ 18
ukrainian-phonetics-basic ⤴️ 18

⤴️: The number of packages that depend (directly or indirectly) on this package (if any). If two numbers are shown the first (lower) number considers only packages which currently have enabled hydra jobs, i.e. are not marked broken. The second (higher) number considers all packages.

Report generated with maintainers/scripts/haskell/hydra-report.hs

@cdepillabout
Copy link
Member Author

Build report is looking pretty good. Looks like the only actionable failures this round are glirc @Kiwi and hedgewars @fpletz @kragniz.

@sternenseemann
Copy link
Member

@ofborg build haskell.packages.ghcHEAD.jailbreak-cabal

cdepillabout and others added 2 commits April 23, 2022 08:57
…workaround

haskell.compiler.ghc8102Binary: fix w/ store path containing "xxx"
github-actions bot and others added 3 commits April 25, 2022 00:11
@cdepillabout
Copy link
Member Author

@libjared It looks like sensei is failing to build on darwin: https://github.com/cdepillabout/nix-haskell-updates-status/tree/1de61c536d84beab6c343bf3bf2ec1915792623d.

Are you expecting that it works on Darwin? Or could we just mark it broken on Darwin?

@hypevhs
Copy link

hypevhs commented Apr 26, 2022

@cdepillabout At a glance, I can't tell what's wrong. I don't have a darwin machine to test with, either. You can mark it broken on darwin.

sternenseemann and others added 8 commits April 26, 2022 19:22
universe-base conditionally depends on OneTuple for GHC < 9.0 which we
need to manually reflect via these overrides.
…eg-reize

haskellPackages.generic-arbitrary: apply patch for negative resizes
Package set has been regenerated by
maintainers/scripts/haskell/regenerate-hackage-packages.sh
@cdepillabout
Copy link
Member Author

Our build report has two things failing because libpulseaudio is failing to build on Darwin, haskellPackages.pulse-simple and haskellPackages.essence-of-live-coding-pulse. The libpulseaudio failure appear to be introduced by #160097. There is a little discussion of it in #169336.

@turion
Copy link
Contributor

turion commented Apr 28, 2022

As you said, I'll expect the haskell packages to build as soon as libpulseaudio is fixed.

sternenseemann and others added 6 commits April 29, 2022 11:21
* Test the default pkgsStatic.haskellPackages set, as it should be
  working properly now.

* Instead of GHC 8.10.7 which hasn't gotten some workarounds applied,
  test GHC 9.2.2 additionally which should work as well as GHC 9.0.

* Test building an actual executable, cabal2nix.

* Simplify aggregate job definition.

* Make sure GHC 9.2 lens gets built on Hydra.
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
@cdepillabout
Copy link
Member Author

This branch should now basically be ready to merge in, but I am waiting for an evaluation to finish on Hydra just to double check that this doesn't introduce any evaluation errors: https://hydra.nixos.org/jobset/nixpkgs/haskell-updates#tabs-evaluations

However, I think there have been problems with Hydra over the last day or so, and the evaluation isn't even starting. I'll continue to wait for Hydra to merge in this branch.

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.

Package Request: Spectacle (a Haskell DSL for formal specifications)
5 participants