Skip to content

[25.11] haskellPackages: stackage LTS 24.16 -> LTS 24.19#466256

Merged
wolfgangwalther merged 21 commits intoNixOS:staging-25.11from
wolfgangwalther:staging-25.11-haskell-updates
Nov 29, 2025
Merged

[25.11] haskellPackages: stackage LTS 24.16 -> LTS 24.19#466256
wolfgangwalther merged 21 commits intoNixOS:staging-25.11from
wolfgangwalther:staging-25.11-haskell-updates

Conversation

@wolfgangwalther
Copy link
Contributor

Manual backport of the relevant commits (minus merge commits) in #460624.

wolfgangwalther and others added 21 commits November 29, 2025 13:49
all-cabal-hashes: 2025-10-22T21:20:29Z -> 2025-11-11T08:13:55Z

(generated by maintainers/scripts/haskell/update-package-set.sh)

haskellPackages.cabal2nix-unstable: 2025-10-31 -> 2025-11-11

This eliminates the need for 2f1f72d.

(cherry picked from commit 5a80601)
- Some patches have been released properly.
- what4 1.7.1.0 has been released.

(cherry picked from commit f3d6f2c)
By default text-icu sets homebrew=true. This can cause a nix build
of text-icu to accidentally link the homebrew icu. It can also
cause "doesn't work on my machine" issues when an old homebrew version
with icu is installed on a mac and is accidentally picked up.

(cherry picked from commit 9d8a1ff)
1.4.4 incorporates most of the patches we need, but introduces a too
strict upper bound on doctest we need to lift.

(cherry picked from commit f566020)
This was implemented when we were using 9.8 in order to ease the
transition to 9.10, but we don't really need to be able to build
git-annex on 9.8 anymore.

(cherry picked from commit 7024499)
Also run Nix based test cases of the language-nix test suite.

(cherry picked from commit 5a86e3d)
We use the same version for GHC 9.6 and GHC 9.8, so it's no additional
effort to pin here as well. This pin was lost when turning HLS into a
throw.

(cherry picked from commit d2f9817)
My previous commit pinned to the wrong version, the version used for 9.4
was indeed 9.6.1. This time I confirmed building locally as well...

(cherry picked from commit bff0d7b)
all-cabal-hashes: 2025-11-11T08:13:55Z -> 2025-11-24T11:39:51Z

(generated by maintainers/scripts/haskell/update-package-set.sh)

(cherry picked from commit 7600c46)
created by running maintainers/scripts/haskell/unbreak.nu

(cherry picked from commit 6954351)
In order not to break downstream expressions that (manually) introduced
dependencies on now renamed attributes, add aliases (with proper
warnings about the renames) for all attributes that were previously part
of Nixpkgs, but have been renamed with this change.

(cherry picked from commit 8780e5b)
This commit has been generated by
maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1820566](https://hydra.nixos.org/eval/1820566) of nixpkgs
commit
[62a3860](https://github.com/NixOS/nixpkgs/commits/62a3860c3400eec2f9d236fbd6590e04102b15b2)
as of 2025-11-29 12:05 UTC*
from the haskell-updates jobset on hydra under
https://hydra.nixos.org/jobset/nixpkgs/haskell-updates

(cherry picked from commit c919544)
The script didn't pick this up correctly, so manually fixing for now.

(cherry picked from commit 6c0b980)
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Difference between 366c561 and original 5a80601 may warrant inspection.

Show diff
@@ Commit message
 
     This eliminates the need for 2f1f72d5a2ea8d96f5ba200567815cb6d43d79f3.
 
+    (cherry picked from commit 5a80601f9795a42d12c6358a3fa10c025df79046)
+
  ## pkgs/data/misc/hackage/pin.json ##
 @@
  {
@@ pkgs/data/misc/hackage/pin.json
 +  "msg": "Update from Hackage at 2025-11-11T08:13:55Z"
  }
 
- ## pkgs/development/haskell-modules/cabal2nix-unstable/cabal2nix.nix ##
-@@
- }:
- mkDerivation {
-   pname = "cabal2nix";
--  version = "2.20.1-unstable-2025-10-31";
-+  version = "2.20.1-unstable-2025-11-11";
-   src = fetchzip {
--    url = "https://github.com/NixOS/cabal2nix/archive/e89ec9afd5d6fd8a86e8514fb4406b2adf0783ab.tar.gz";
--    sha256 = "06mdyjy5yds5g51mby4n1jz3r32a24lnba61l0vjm707nzp31r9z";
-+    url = "https://github.com/NixOS/cabal2nix/archive/a152152295a9fa6698583e84a2b8c7eee1446296.tar.gz";
-+    sha256 = "1jpgzyc360g5snvc5ji6wqfvbsc7siwxvhrwafzzfg762niq0c49";
-   };
-   postUnpack = "sourceRoot+=/cabal2nix; echo source root reset to $sourceRoot";
-   isLibrary = true;
-
- ## pkgs/development/haskell-modules/cabal2nix-unstable/distribution-nixpkgs.nix ##
-@@
- }:
- mkDerivation {
-   pname = "distribution-nixpkgs";
--  version = "1.7.1.1-unstable-2025-10-31";
-+  version = "1.7.1.1-unstable-2025-11-11";
-   src = fetchzip {
--    url = "https://github.com/NixOS/cabal2nix/archive/e89ec9afd5d6fd8a86e8514fb4406b2adf0783ab.tar.gz";
--    sha256 = "06mdyjy5yds5g51mby4n1jz3r32a24lnba61l0vjm707nzp31r9z";
-+    url = "https://github.com/NixOS/cabal2nix/archive/a152152295a9fa6698583e84a2b8c7eee1446296.tar.gz";
-+    sha256 = "1jpgzyc360g5snvc5ji6wqfvbsc7siwxvhrwafzzfg762niq0c49";
-   };
-   postUnpack = "sourceRoot+=/distribution-nixpkgs; echo source root reset to $sourceRoot";
-   enableSeparateDataOutput = true;
-
- ## pkgs/development/haskell-modules/cabal2nix-unstable/hackage-db.nix ##
-@@
- }:
- mkDerivation {
-   pname = "hackage-db";
--  version = "2.1.3-unstable-2025-10-31";
-+  version = "2.1.3-unstable-2025-11-11";
-   src = fetchzip {
--    url = "https://github.com/NixOS/cabal2nix/archive/e89ec9afd5d6fd8a86e8514fb4406b2adf0783ab.tar.gz";
--    sha256 = "06mdyjy5yds5g51mby4n1jz3r32a24lnba61l0vjm707nzp31r9z";
-+    url = "https://github.com/NixOS/cabal2nix/archive/a152152295a9fa6698583e84a2b8c7eee1446296.tar.gz";
-+    sha256 = "1jpgzyc360g5snvc5ji6wqfvbsc7siwxvhrwafzzfg762niq0c49";
-   };
-   postUnpack = "sourceRoot+=/hackage-db; echo source root reset to $sourceRoot";
-   isLibrary = true;
-
- ## pkgs/development/haskell-modules/cabal2nix-unstable/language-nix.nix ##
-@@
- }:
- mkDerivation {
-   pname = "language-nix";
--  version = "2.3.0-unstable-2025-10-31";
-+  version = "2.3.0-unstable-2025-11-11";
-   src = fetchzip {
--    url = "https://github.com/NixOS/cabal2nix/archive/e89ec9afd5d6fd8a86e8514fb4406b2adf0783ab.tar.gz";
--    sha256 = "06mdyjy5yds5g51mby4n1jz3r32a24lnba61l0vjm707nzp31r9z";
-+    url = "https://github.com/NixOS/cabal2nix/archive/a152152295a9fa6698583e84a2b8c7eee1446296.tar.gz";
-+    sha256 = "1jpgzyc360g5snvc5ji6wqfvbsc7siwxvhrwafzzfg762niq0c49";
-   };
-   postUnpack = "sourceRoot+=/language-nix; echo source root reset to $sourceRoot";
-   libraryHaskellDepends = [
-
  ## pkgs/development/haskell-modules/configuration-hackage2nix/stackage.yaml ##
 @@
 -# Stackage LTS 24.16
@@ pkgs/development/haskell-modules/hackage-packages.nix: self: {
          hashable
          hashtables
          hedgehog
-@@ pkgs/development/haskell-modules/hackage-packages.nix: self: {
-       hspec,
-       hspec-discover,
-       optparse-applicative,
--      poppler-cpp,
-+      poppler,
-       range,
-       text,
-     }:
-@@ pkgs/development/haskell-modules/hackage-packages.nix: self: {
-         bytestring
-         text
-       ];
--      libraryPkgconfigDepends = [ poppler-cpp ];
-+      libraryPkgconfigDepends = [ poppler ];
-       executableHaskellDepends = [
-         aeson
-         ansi-wl-pprint
-@@ pkgs/development/haskell-modules/hackage-packages.nix: self: {
-       mainProgram = "pdftotext.hs";
-       maintainers = [ lib.maintainers.mpscholten ];
-     }
--  ) { poppler-cpp = null; };
-+  ) { inherit (pkgs) poppler; };
- 
-   pdynload = callPackage (
-     {
 @@ pkgs/development/haskell-modules/hackage-packages.nix: self: {
        hspec-discover,
        megaparsec,

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 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: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: haskell General-purpose, statically typed, purely functional programming language 4.workflow: backport This targets a stable branch labels Nov 29, 2025
@wolfgangwalther
Copy link
Contributor Author

not sure why there is a diff here, I can't remember resolving conflicts there. We might need to backport another commit about cabal2nix-unstable somewhere? not sure.

@nixpkgs-ci nixpkgs-ci bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Nov 29, 2025
@sternenseemann
Copy link
Member

@wolfgangwalther looks like #460629 which went to staging-next

@wolfgangwalther
Copy link
Contributor Author

Right. I think the order of commits was different, so that's why there is a diff now. This commit is already in staging-25.11, I believe. So I can't apply it again, so all good.

@wolfgangwalther wolfgangwalther added this pull request to the merge queue Nov 29, 2025
Merged via the queue into NixOS:staging-25.11 with commit 6a772f1 Nov 29, 2025
33 checks passed
@wolfgangwalther wolfgangwalther deleted the staging-25.11-haskell-updates branch November 29, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: haskell General-purpose, statically typed, purely functional programming language 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.

3 participants