haskellPackages: update stackage and hackage#192273
Conversation
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
Initial port of our GHC Nix expressions to the new hadrian build system, as it has become required after 9.4. Unfortunately there are some regressions affecting us, namely the inability to install a GHC cross-compiler at the moment (see issue linked in relevant error message). This means that a lot of specific configuration snippets for cross-platforms and static compilation have been ported from make speculatively, as we are unable to test them for the moment.
|
@amjoseph-nixpkgs may be interesting for you to test ghcHEAD on powerpc64le-linux (native compiler). There's no rush though, I expect regressions and plan to fix them bit by bit, since there is no real requirement for ghcHEAD to be free of regressions. |
I'm rebuilding the rest of my workstation environment with If there is some reasonably-sized set of "smoke test" packages that are expected to build everywhere that GHC does please let me know and I'll add it to my workstation set. I managed to get NixOS to boot (#192672) on powerpc64le-linux, so perhaps I will be able to run a copy of Hydra on powerpc64le at some point. |
|
@ofborg build haskell.packages.ghcHEAD.base-compat |
Only failure was Of course a lot of stuff depends on |
That is pretty much expected, the package set overrides for ghcHEAD are very much outdated.
Can you pull |
|
For
Not sure yet what this means for us. Edit: Seems like the header doesn't exist in our |
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
|
|
However a lot of |
|
I never really understood why cabal allows upper bounds on dependency versions. I guess this is because it has no way to encode "maximum version known to work"? It would be neat if there were a dependency manager which could express that concept without introducing full-on lockfiles. |
That's expected, as said the overlay is pretty much stale.
Version numbers allow infering when any API breaking change may be done via PVP. In general it is wise (under the assumption that we are constraint-solving) to be more conservative, so that we avoid the situation of a valid install plan that fails to build. Hackage revisions allow updating the upper bounds without creating a new release altogether which in theory should make this system fairly sensible, but in practice maintainers are not that diligent. Since we are not constraint solving, but curating a package set, we have a lot more issues with this approach than the average cabal-install user. |
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 #191788. Come to #haskell:nixos.org if you have any questions.