Skip to content

haskellPackages: update stackage and hackage#369373

Merged
sternenseemann merged 47 commits intostagingfrom
haskell-updates
Dec 31, 2024
Merged

haskellPackages: update stackage and hackage#369373
sternenseemann merged 47 commits intostagingfrom
haskell-updates

Conversation

@sternenseemann
Copy link
Member

This Merge

This PR is the regular merge of the haskell-updates branch into staging.

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

github-actions bot and others added 30 commits December 25, 2024 00:16
This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
We should monitor time-manager since that's a breaking update according
to PVP.
We should keep an eye on megaparsec which had a breaking update
according to PVP.
pandoc_3_5: remove at 3.5
The ormolu version we're using for 9.10 HLS doesn't like the 9.12 versions.
haskellPackages.repa-{eval,scalar}: drop stale broken flag
The test suite expects the behavior of Cabal < 3.12 and it seems
permissible to ignore it. Stackage also ignores this test suite (though
due to a dependency cycle, it seems).
As of [this PR](NixOS/cabal2nix#630)
opencascade-hs does not require the dependency on opencascade-occt to be
manually specified. It does however still require the include path to be
defined.

Co-authored-by: sternenseemann <[email protected]>
git-remote-annex is used in the test suite now, git-remote-tor-annex is
unused.
    $ nix build --no-link -f. haskell.packages.ghcjs.exceptions
    error:
       … in the left operand of the update (//) operator
         at pkgs/development/haskell-modules/lib/compose.nix:48:5:
           47|     ))
           48|     // {
             |     ^
           49|       overrideScope = scope: overrideCabal f (drv.overrideScope scope);

       error: attribute 'exceptions_0_10_8' missing
       at pkgs/development/haskell-modules/configuration-ghcjs-8.x.nix:43:26:
           42|   stm = doJailbreak self.stm_2_5_3_1;
           43|   exceptions = dontCheck self.exceptions_0_10_8;
             |                          ^
           44|
       Did you mean exceptions_0_10_9?
Without the change the eval fails as:

    $ nix build --no-link -f. haskell.packages.ghc865Binary.exceptions
    error: attribute 'exceptions_0_10_8' missing
       at pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix:97:16:
           96|   # This became a core library in ghc 8.10., so we don’t have an "exception" attribute anymore.
           97|   exceptions = self.exceptions_0_10_8;
             |                ^
           98|
       Did you mean exceptions_0_10_9?

After the change the attribute builds successfully.
@sternenseemann
Copy link
Member Author

sternenseemann commented Dec 31, 2024

Packages that will fix themselves in the next iteration:

  • hasktorch and friends
  • hsc3
  • gi-nm possibly (or in Stackage LTS 23?)
  • libremidi

@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: module (update) This PR changes an existing module in `nixos/` 6.topic: emacs Text editor 6.topic: xfce The Xfce Desktop Environment 6.topic: stdenv Standard environment 6.topic: pantheon The Pantheon desktop environment 6.topic: cinnamon Desktop environment 6.topic: LXQt The Lightweight Qt Desktop Environment 6.topic: Lumina DE The Lumina Desktop Environment 6.topic: Enlightenment DE The Enlightenment Desktop Environment 6.topic: mate The MATE Desktop Environment 6.topic: vscode A free and versatile code editor that supports almost every major programming language. 6.topic: games Gaming on NixOS 6.topic: php PHP is a general-purpose scripting language geared towards web development. 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 6.topic: nvidia Nvidia-specific issues and fixes labels Dec 31, 2024
@sternenseemann sternenseemann marked this pull request as ready for review December 31, 2024 23:19
@sternenseemann sternenseemann merged commit e12fb0d into staging Dec 31, 2024
28 of 30 checks passed
@sternenseemann
Copy link
Member Author

Note that this PR notably regresses echidna (due to the hevm update). There will be ample time to merge a fix into staging, staging-next and even master eventually since it doesn't have many (any?) reverse dependencies. cc @hellwolf @arcz

@hellwolf
Copy link
Contributor

hellwolf commented Jan 1, 2025

Thanks @sternenseemann for tagging. I will look into it the next cycles.

@sternenseemann
Copy link
Member Author

sternenseemann commented Jan 6, 2025

  • e73ff8c should be backported to stable.

@wolfgangwalther wolfgangwalther added the 4.workflow: package set update Development branch for package set updates (haskell/python) label May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge conflict This PR has merge conflicts with the target branch 4.workflow: package set update Development branch for package set updates (haskell/python) 6.topic: cinnamon Desktop environment 6.topic: emacs Text editor 6.topic: Enlightenment DE The Enlightenment Desktop Environment 6.topic: games Gaming on NixOS 6.topic: haskell General-purpose, statically typed, purely functional programming language 6.topic: Lumina DE The Lumina Desktop Environment 6.topic: LXQt The Lightweight Qt Desktop Environment 6.topic: mate The MATE Desktop Environment 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: nvidia Nvidia-specific issues and fixes 6.topic: pantheon The Pantheon desktop environment 6.topic: php PHP is a general-purpose scripting language geared towards web development. 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: stdenv Standard environment 6.topic: vscode A free and versatile code editor that supports almost every major programming language. 6.topic: xfce The Xfce Desktop Environment 8.has: changelog This PR adds or changes release notes 8.has: clean-up This PR removes packages or removes other cruft 8.has: documentation This PR adds or changes documentation 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: module (update) This PR changes an existing module in `nixos/` 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.

6 participants