Skip to content

haskellPackages: update stackage and hackage#154461

Merged
expipiplus1 merged 27 commits intomasterfrom
haskell-updates
Jan 19, 2022
Merged

haskellPackages: update stackage and hackage#154461
expipiplus1 merged 27 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 #153536. 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 github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Jan 11, 2022
@domenkozar
Copy link
Member

Hey @expipiplus1, is there any way you do another hackage update?

@ofborg ofborg bot added 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: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Jan 14, 2022
@expipiplus1
Copy link
Contributor Author

Hey @expipiplus1, is there any way you do another hackage update?

🏁

@expipiplus1
Copy link
Contributor Author

expipiplus1 commented Jan 15, 2022

haskell-updates build report from hydra

evaluation 1738199 of nixpkgs commit 9a99754 as of 2022-01-15 12:21 UTC

🔴 Branch not mergeable

  • Too many outstanding jobs on x86_64-linux.
  • Too many outstanding jobs on aarch64-linux.
  • maintained jobset failed.
  • mergeable jobset is not finished.

Build summary

Platform Failed ❌ DependencyFailed ❗ TimedOut ⌛🚫 Unfinished ⏳ Success ✔️
aarch64-linux 📱 25 30 4 328 6812
x86_64-darwin 🍎 66 42 9 7014
x86_64-linux 🐧 7 9 158 7059

Maintained packages with build failure

Maintained packages with failed dependency

Unmaintained packages with build failure

79 job(s)

Unmaintained packages with failed dependency

58 job(s)

Top 50 broken packages, sorted by number of reverse dependencies

50 job(s)

haskell98 ⤴️ 153
enumerator ⤴️ 56
contiguous ⤴️ 48
derive ⤴️ 48
parseargs ⤴️ 42
MonadCatchIO-transformers ⤴️ 41
bytesmith ⤴️ 38
data-lens ⤴️ 33
distributed-process ⤴️ 30
iteratee ⤴️ 29
jmacro ⤴️ 29
ip ⤴️ 28
either-unwrap ⤴️ 25
HList ⤴️ 23
SciBaseTypes ⤴️ 22
haskelldb ⤴️ 22
hsc3 ⤴️ 22
wxdirect ⤴️ 22
BiobaseTypes ⤴️ 21
wxc ⤴️ 21
biocore ⤴️ 20
secp256k1-haskell ⤴️ 20
wxcore ⤴️ 20
attoparsec-enumerator ⤴️ 19
bytestring-show ⤴️ 19
wx ⤴️ 19
BiobaseENA ⤴️ 18
asn1-data ⤴️ 18
dbus-core ⤴️ 18
gtksourceview2 ⤴️ 18
numhask ⤴️ 18
BiobaseXNA ⤴️ 17
HGamer3D-Data ⤴️ 17
certificate ⤴️ 17
dbus-client ⤴️ 17
gconf ⤴️ 17
gtk-serialized-event ⤴️ 17
uuid-orphans ⤴️ 17
cuda ⤴️ 16
happstack-jmacro ⤴️ 16
manatee-core ⤴️ 16
monads-fd ⤴️ 16
murmur3 ⤴️ 16
tls-extra ⤴️ 16
ADPfusion ⤴️ 15
MaybeT ⤴️ 15
blaze-builder-enumerator ⤴️ 15
clash-prelude ⤴️ 15
hetero-dict ⤴️ 15
hsx-jmacro ⤴️ 15

⤴️: 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

@domenkozar
Copy link
Member

domenkozar commented Jan 15, 2022 via email

sternenseemann and others added 2 commits January 15, 2022 22:02
The following pinned packages are no longer needed:

haskellPackages.ShellCheck_0_7_1: drop
haskellPackages.cabal-install-parsers_0_4_2: drop
@Anton-Latukha
Copy link
Contributor

Anton-Latukha commented Jan 16, 2022

Big thank you for the notification on HNix.

It shows I made error backporting aeson support into 0.14, 0.14.0.7 apparently does not work with aeson <2.0. The solutions are:
a) into Nix.Json add import Nix.Expr.Types (VarName) entry;
b) using aeson 2 for the package.

Me doing:

  • ✔️ a revision of 0.14.0.7, which as is really works only with aeson 2.0, (so the expression regeneration now should produce working derivation).
  • ✔️ fix release, 0.14.0.8.

That solves the build dependencies reports of projects:

  • dhall-nix,
  • dhall-nixpkgs,
  • nix-linter,
  • update-nix-fetchgit,
  • yarn2nix.

@Gabriella439
Copy link
Contributor

Yeah, once hnix is fixed then I expect the dhall-nix build failures will resolve, too

@sternenseemann
Copy link
Member

b) using aeson 2 for the package.

A solution without the use of aeson >= 2.0 would be preferred. aeson is an extremely common place dependency and the need for having matched versions across the dependency graph makes overriding in an upgrade to the dependency a nightmare.

This package has been removed in a previous commit and the remaining
references cause eval issues.
@sternenseemann
Copy link
Member

@domenkozar Seems like the cachix update has broken the hercules-ci packages.

@Anton-Latukha
Copy link
Contributor

@domenkozar
Copy link
Member

@domenkozar Seems like the cachix update has broken the hercules-ci packages.

Thanks, that is entirely my mistake. I wish Haskell had tooling to catch breaking changes for modules.

I've pushed a patch that fixes the build!

@Anton-Latukha
Copy link
Contributor

Anton-Latukha commented Jan 18, 2022

Released hnix 0.16.0 today. That is a big leap release between 0.14.0.8, (0.15 got deprecated) & now 0.16.0 - so projects that use hnix really need to update to it, so currently 0.14.0.8 is the default target for nixpkgs, the 0.16 is to address after a couple of weeks time.

@domenkozar
Copy link
Member

This looks ready to be merged?

github-actions bot and others added 2 commits January 19, 2022 00:09
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
@expipiplus1 expipiplus1 merged commit 7682f18 into master Jan 19, 2022
@expipiplus1
Copy link
Contributor Author

Merged, big thanks @domenkozar and @Anton-Latukha

@ofborg ofborg bot added the 8.has: clean-up This PR removes packages or removes other cruft label Jan 19, 2022
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: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants