haskellPackages: update stackage and hackage#146621
Conversation
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
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.
|
lens: 5.0.1 -> 5.1 for GHC 9.0.1 and 9.2.1 yes no? |
|
The changelog looks quite tame. I think we could risk it. https://hackage.haskell.org/package/lens-5.1/changelog |
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.
…ve-codegen ghcWithPackages: fix / update LLVM deactivation if NCG is available
|
HNix has Linux x64 marked - but linked there 158852562 build is all good. If something - current official version is |
Yeah, that observation is correct. There was a flaky test failing, causing a lot of failures, but restarting the jobs resolved this. |
Seems like its test suite triggers a similar RTS bug as the doctest test suites.
A lot of these packages are not in stackage for some reason, so we need to add some extra constraints to keep the packages stackage-compatible. Some newly uploaded packages will become broken, as they've never had a version compatible with haskell-gi 0.25.
Hackage tarball is missing necessary test data.
test suite triggers same RTS bug (?) as hls-hlint-plugin.
ghcHEAD: fix mingw build
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.
The updated bounds upstream (with no additional changes) are pending release as 1.0.0.1. haskell/haskell-language-server@311107e#diff-a4d51410a2d9bbbb2a72a7a055b6e7df05e69c19b914d973a7c48da72383eeb4
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
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).
This Merge
This PR is the regular merge of the
haskell-updatesbranch intomaster.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-updatesPRs 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:
haskell-updates(normally at the beginning of a merge window).haskell-updatesintomasterevery two weeks.mergeablejob is succeeding on hydra.maintainedpackage 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.