haskellPackages: update stackage and hackage#127438
Conversation
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
01daaa9 to
9398b5f
Compare
|
Hey everyone. stackage nightly switched to ghc 9. Something we don‘t feel quite ready for. So I force pushed to switch to stackage LTS. I am sorry for the fixes that had already happened. I have them saved locally so I can cherry-pick them, when they are necessary. |
|
On 19. Jun 2021, at 14:29, maralorn ***@***.***> wrote:
stackage nightly switched to ghc 9. Something we don‘t feel quite ready for. So I force pushed to switch to stackage LTS.
Is LTS on 8.10.5?
|
No, LTS is on 8.10.4, but I don‘t think that matters. |
|
I guess they ran into the same issues as we did, as they also seem to care about tests. |
Stackage LTS 18 has brought cryptonite 0.29, so this override breaks evaluation.
Add assert which will fail when the overrides can be removed. Upstream has patched the bounds, but hasn't made a new release nor a hackage revision so far.
stackage LTS 18 luckily updated haskell-gi and related libraries to 0.25, so we can remove a lot of overrides. I also unrestricted some of them in configuration-hackage2nix/main.yml and removed the overrides updating them in configuration-common.nix (I guess the person doing the upgrades thought those libraries were also in stackage).
haskellPackages: remove haskell-gi overrides obsolete due to lts
Now that stackage lts 18 has version 5.0.0, we can upgrade futhark.
The stackage update seems to include a version with this commit.
Was failing before when trying to create files in `$HOME` and marked as broken subsequently.
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
|
@roberth With the bump to newest cachix, I think we can remove the custom cachix patch? At least it doesn‘t apply anymore. But without it I get compile errors on hercules-ci-agent. I guess it’s better you have a look at it. |
|
Last other outstanding issue now are rel8 tests on darwin. |
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
|
Hey @roberth, thank you for fixing that build error. One remark just to be sure for the future. We now do hackage bumps more rarely, we try to do one bump at the beginning of the merge window and then stabilize everything. Doing random bumps in between has the danger of breaking new stuff. This time the risk was very low because I had done a bump just a few hours before, but in general please don‘t just bump Hackage before coordinating with the person opening the haskell-updates PR. |
haskellPackages.dual-tree: downgrade to 0.2.2.1 Since the resolution of the following issues, we can remove a lot of jailbreaks: * diagrams/diagrams-core#112 * diagrams/diagrams-cairo#77 * diagrams/diagrams-rasterific#63 Some we need to keep since the base 4.15 compatibility updates were sometimes bundled with adjustments for monoid-extras 0.6 / diagrams-* 1.5 which we can't yet update to. Downgrade dual-tree since 2.2.3.0 requires monoid-extras 0.6 (although it seemed to compile with 0.5…).
Compatibility with pandoc 2.14.
Noted. This time I had to make 4 releases, and based on the commits in the PR I inferred running those scripts was the way to go. Next time I'll ask. Instead of the automatic commits, is |
|
Partial updates via hackage2nix won't work at all, unfortunately. Because running I have been toying with a script to freeze the version bounds from hackage at a certain point in time which we would allow us to:
This would especially be great for the stable branch, so my proposal would be to experiment with that there first. (Also I'll have to find the time to actually do it). |
The tests use pgrep which is not packaged for darwin yet as we are lacking some private / non open source headers for it to compile. May be resolvable in the future.
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
|
I have this error:
|
|
As a quick fix, does this help? diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
index 7731c73f0f6..20c64dbbccf 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
@@ -106,7 +106,7 @@ self: super: {
retry = dontCheck super.retry;
# hlint 3.3 needs a ghc-lib-parser newer than the one from stackage
- hlint = super.hlint_3_3_0.overrideScope (self: super: {
+ hlint = super.hlint_3_3_1.overrideScope (self: super: {
ghc-lib-parser = overrideCabal self.ghc-lib-parser_9_0_1_20210324 {
doHaddock = false;
}; |
|
@expipiplus1 yes, thanks! |
|
Huh, I don‘t completely understand this error message, but this could actually be a packaging bug by upstream. i.e. an error in some cabal file. Note, that not all plugins are yet supported on ghc 9.0 but I think we enable them all by default. So you will need to disable some cabal flags to have a chance for hls to compile. |
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.
I will aim to merge this PR by 2021-06-27. If I can merge it earlier, there might be successor PRs in that time window. As part of our rotation @expipiplus1 will continue these merges from 2021-06-28 to 2021-07-11.
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 #126693.