Skip to content

haskellPackages: update stackage and hackage#146621

Merged
sternenseemann merged 40 commits intomasterfrom
haskell-updates
Nov 24, 2021
Merged

haskellPackages: update stackage and hackage#146621
sternenseemann merged 40 commits intomasterfrom
haskell-updates

Conversation

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

sternenseemann and others added 7 commits November 18, 2021 16:33
The availability of native codegen (which allows us to disable the LLVM
backend by default) hinges on the target platform of the compiler (that
is GHC), not on the platform it runs on (the host platform).
Based on https://gitlab.haskell.org/ghc/ghc/-/wikis/platforms, although
it sadly doesn't list when the backends were introduced.

* PowerPC, x86 (and x86_64) and Sparc have been supported for longer.

* aarch64-darwin is new in 9.2.1 and backported to 8.10.5, 8.10.6 and
  8.10.7 (check is dumb here since we'll grep for 8.10.7 anyways when
  upgrading)

Fixes ghcWithPackages failing to evaluate on aarch64-darwin because of
missing support for the platform in LLVM 9's compiler-rt.
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 Nov 19, 2021
@sternenseemann sternenseemann changed the title Haskell updates haskellPackages: update stackage and hackage Nov 19, 2021
Since hledger-lib 1.23 won't build with the latest doctest, there's
likely a change in behavior somewhere. 0.18.2 is then the closest
doctest to stackage's which works with GHC >= 9, so let's stick with it
for now.
@sternenseemann
Copy link
Member Author

lens: 5.0.1 -> 5.1 for GHC 9.0.1 and 9.2.1 yes no?

@maralorn
Copy link
Member

maralorn and others added 5 commits November 20, 2021 12:15
Latest on Hackage has been updated, so let's try to follow. Stackage LTS
still doesn't support GHC >= 9.0
The hackage version of aeson has been updated from 2.0.1.0 -> 2.0.2.0
and now builds without intervention.
@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: 2501-5000 This PR causes many rebuilds on Darwin and should 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 Nov 20, 2021
…ve-codegen

ghcWithPackages: fix / update LLVM deactivation if NCG is available
@sternenseemann
Copy link
Member Author

sternenseemann commented Nov 20, 2021

haskell-updates build report from hydra

evaluation 1724176 of nixpkgs commit b092fd0 as of 2021-11-21 13:52 UTC

🔴 Branch not mergeable

  • mergeable jobset failed.
  • maintained jobset failed.

Build summary

Platform Failed ❌ DependencyFailed ❗ TimedOut ⌛🚫 Success ✔️
aarch64-linux 📱 46 28 3 7049
x86_64-darwin 🍎 73 44 1 6951
x86_64-linux 🐧 28 19 7120

Maintained packages with build failure

Maintained packages with failed dependency

Unmaintained packages with build failure

99 job(s)

Unmaintained packages with failed dependency

64 job(s)

Top 50 broken packages, sorted by number of reverse dependencies

50 job(s)

haskell98 ⤴️ 153
enumerator ⤴️ 56
derive ⤴️ 48
contiguous ⤴️ 46
MonadCatchIO-transformers ⤴️ 41
parseargs ⤴️ 41
bytesmith ⤴️ 36
data-lens ⤴️ 34
distributed-process ⤴️ 30
iteratee ⤴️ 29
jmacro ⤴️ 29
ip ⤴️ 26
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
numhask ⤴️ 19
polysemy-plugin ⤴️ 19
wx ⤴️ 19
BiobaseENA ⤴️ 18
asn1-data ⤴️ 18
dbus-core ⤴️ 18
gtksourceview2 ⤴️ 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

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

@Anton-Latukha
Copy link
Contributor

Anton-Latukha commented Nov 21, 2021

HNix has Linux x64 marked - but linked there 158852562 build is all good.

If something - current official version is 0.14.0.5 now, the last published HNix 0.15 is deprecated. & because of Nix 2.4 release & how things currently is - project currently can definitely be in the rough shape, so please ping me if technical things pop-up.

@sternenseemann
Copy link
Member Author

HNix has Linux x64 marked - but linked there 158852562 build is all good.

Yeah, that observation is correct. There was a flaky test failing, causing a lot of failures, but restarting the jobs resolved this.

@ofborg ofborg bot requested a review from guibou November 22, 2021 04:39
@ofborg ofborg bot added the 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. label Nov 22, 2021
sternenseemann and others added 6 commits November 22, 2021 12:22
test suite triggers same RTS bug (?) as hls-hlint-plugin.
This check was wrong and caused by a bit of confusion on my part.
GHC >= 8.10.5 && < 9 supports aarch64-darwin via LLVM and GHC >= 9.2.1
introduces the NCG backend for aarch64-darwin.
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
@ofborg ofborg bot added the 8.has: clean-up This PR removes packages or removes other cruft label Nov 23, 2021
github-actions bot and others added 3 commits November 24, 2021 00:07
useLLVM is what we are using in the GHC derivations already -- for
better or for worse -- so we should rename the argument here for
consistency which we are free to do as this is purely internal at the
moment (with overriding being impossible).
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: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should 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.

5 participants