haskellPackages: stackage LTS 23.21 -> LTS 23.24 #413046
Merged
sternenseemann merged 117 commits intostagingfrom Jul 1, 2025
Merged
haskellPackages: stackage LTS 23.21 -> LTS 23.24 #413046sternenseemann merged 117 commits intostagingfrom
sternenseemann merged 117 commits intostagingfrom
Conversation
Also remove broken status
GHC can be used to compile C sources which causes it to drive the configured C compiler. This is particularly relevant during GHC's own compilation, e.g. when building the rts. GHC takes a peculiar approach, always generating intermediate assembly instead of letting the C compiler emit object files directly. This causes an assembler check in clang >= 18 to fail on rts/StgCRun.c, failing the GHC build on darwin completely. Later GHC versions don't exhibit this issue since object code is emitted directly since 9.6. The easiest way to resolve the compilation failure seems to backport this change. However, the patch only applies on GHC 9.4 which is done here. The patch may be difficult to backport further, as the changed code was extensively refactored in GHC 9.4. Reference #367686.
This is more robust when new bindists are added to expressions since no additional conditional needs to be updated.
We can/should use 9.0.2 to bootstrap some GHC versions, having the bindist makes things easier in some cases. - To bootstrap GHC 9.4 using 9.2 is not possible and 8.10.7 doesn't always work. Since source built 9.0.2 is broken on darwin at the moment, the bindist helps. Reference #367686, #410085. - To bootstrap GHC 9.2 without GHC 8.10. Reference #346214.
13 tasks
This update fixes the `regenerate-hackage-packages` script. ``` ./maintainers/scripts/haskell/update-cabal2nix-unstable.sh ``` Previously, `regenerate-hackage-packages` failed with: ``` ... hackage2nix: user error (cannot parse cabal file /nix/store/kmz1d73l5k1nhv5269dl5i68yjwlbcir-unpacked-cabal-hashes/pms-application-service/0.0.3.0/pms-application-service.cabal) hackage2nix: thread blocked indefinitely in an MVar operation ```
``` ./maintainers/scripts/haskell/regenerate-hackage-packages.sh ``` No update of Hackage or Stackage.
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on *evaluation [1816057](https://hydra.nixos.org/eval/1816057) of nixpkgs commit [028a94b](https://github.com/NixOS/nixpkgs/commits/028a94be88e833c919631df2973a00ec008062a8) as of 2025-06-23 09:22 UTC* from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
Since the shebang calls nix-shell, we can safely assume that Nix (Lix, C++ Nix) is installed. Our scripts should support a wide enough range of Nix versions so that using the “impure” version of the tool is not a problem. This works around #400784. My theory is that the Nix frontend commands no longer work with older versions of the Nix daemon nor the Lix daemon in our workloads.
This package is affected by the same problem as jpeg-turbo, missing test files in the sdist.
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on *evaluation [1816563](https://hydra.nixos.org/eval/1816563) of nixpkgs commit [bbb13da](https://github.com/NixOS/nixpkgs/commits/bbb13daacc156a67eb57d26fa2a78ef94fbac7f2) as of 2025-07-01 22:36 UTC* from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
3 tasks
13 tasks
wamserma
added a commit
to wamserma/nixpkgs
that referenced
this pull request
Jul 19, 2025
selective manual backport of version bump hand picked new version/hash from haskell package update in NixOS#413046
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Merge
This PR is the regular merge of the
haskell-updatesbranch intostaging.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-updatesintostagingevery 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!)More information about Haskell packages in nixpkgs can be found in the nixpkgs manual.
This is the follow-up to #404362. Come to #haskell:nixos.org if you have any questions.