Skip to content

haskellPackages: update stackage and hackage#296524

Merged
ncfavier merged 112 commits intomasterfrom
haskell-updates
Mar 31, 2024
Merged

haskellPackages: update stackage and hackage#296524
ncfavier merged 112 commits intomasterfrom
haskell-updates

Conversation

@maralorn
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!)

More information about Haskell packages in nixpkgs can be found in the nixpkgs manual.


This is the follow-up to #279413. 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
@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Mar 16, 2024
@vcunat
Copy link
Member

vcunat commented Mar 17, 2024

I'm delaying the builds on Hydra for now, hopefully after PR #295458 (if things go fast).

ghc-lib-parser and ghc-lib-parser-ex have new versions that replaced the ones
we used previously.
@vcunat
Copy link
Member

vcunat commented Mar 18, 2024

I'm delaying the builds on Hydra for now

I was too optimistic about regressions on staging-next branch. Builds restarted now.

@jvanbruegge
Copy link
Contributor

One small question: In the current nixos-unstable, haskell.packages.ghc98.ghcide is not buildable. In general would it be possible to have a prebuilt haskell-language-server for the GHC versions it supports? Building the whole dependency tree of it on my laptop takes forever. Especially annoying just to see that one of the later packages (ghcide in this case) is broken

@maralorn
Copy link
Member Author

maralorn commented Mar 18, 2024

@jvanbruegge I am very sorry. That is a "known" regression. I normally have the rule to keep ghcide building on all supported hls versions at all times. But in this case I saw no real other option than to break it for a few days.
ghc had a breaking API change from 9.8.1 to 9.8.2 which broke ghcide 2.6.0.0. I noticed this problem right before the haskell-updates merge on Saturday. The only possible fix would have been to update the hackage pin which would have delayed that long awaited merge for quite some time.

I hope we can get this update in as fast as possible which will contain the fix.

otoh it is good to know for me that people are actually using hls on other ghc versions.
Anyway the answer to your questions is: Yes it is generally possible. We do it nearly all the time you noticed the exception to the rule.

@ncfavier
Copy link
Member

@sternenseemann I assume the evaluation errors about ghc963Binary being broken on darwin can be safely ignored?

@sternenseemann
Copy link
Member

sternenseemann commented Mar 30, 2024 via email

@ncfavier
Copy link
Member

ncfavier commented Mar 30, 2024

@arcz was not pinged about the failure of hevm this time; not sure how that didn't happen. However it looks like they were pinged about it on the previous PR, so have had plenty of notice.

I plan on merging this branch tomorrow.

EDIT: the package was already transitively broken, which is why maintainer ping didn't happen. It became transitively unbroken when HSH was fixed, but now it is directly broken, hence it appears in the report. Everything is working as intended.

sheepforce and others added 8 commits March 30, 2024 11:33
* haskellPackages.cpython: x86 only

* Update pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml

---------

Co-authored-by: Naïm Favier <[email protected]>
…port`

Useful if we ever need to reproduce the report for a previous
evaluation.
There's no need to fetch the eval again, we have it right there.
…lect-fix

haskellPackages.tasty-autocollect: fix build by disabling tests
@ncfavier ncfavier merged commit 158a3b0 into master Mar 31, 2024
@ofborg ofborg bot added the 8.has: clean-up This PR removes packages or removes other cruft label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: agda A dependently typed programming language / interactive theorem prover 6.topic: haskell General-purpose, statically typed, purely functional programming language 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 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: 5001+ This PR causes many rebuilds on Darwin and must 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.