From 5ae5c0ffbfa06ca88fd2557d210e92061b0672dd Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 30 Sep 2025 15:46:35 +0200 Subject: [PATCH] haskellPackages.microlens-pro: pin at 0.2.0.3 to match microlens < 0.5 prescribed by Stackage LTS 24. --- .../configuration-hackage2nix/main.yaml | 2 + .../haskell-modules/hackage-packages.nix | 44 +++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index a6b2d2fa0217..ce69e1c41e70 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -40,6 +40,8 @@ default-package-overrides: # liquidhaskell(-boot) support one GHC at a time, so we choose the one matching the current GHC (9.10) - liquidhaskell == 0.9.10.* - liquidhaskell-boot == 0.9.10.* + # Needs to match microlens == 0.4.* in Stackage LTS 24 + - microlens-pro < 0.2.0.4 # keep-sorted end # keep-sorted start skip_lines=1 case=no numeric=yes diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 564cf1cda741..c74f95d74739 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -446195,6 +446195,49 @@ self: { ) { }; microlens-pro = callPackage ( + { + mkDerivation, + base, + containers, + microlens, + microlens-contra, + microlens-platform, + microlens-th, + mtl, + profunctors, + tagged, + template-haskell, + text, + th-abstraction, + unordered-containers, + vector, + }: + mkDerivation { + pname = "microlens-pro"; + version = "0.2.0.3"; + sha256 = "1mmj8y7rvfasas1kqpns8aj9mr52rgb8mm8fy5qwmv0ll8r3siik"; + libraryHaskellDepends = [ + base + containers + microlens + microlens-contra + microlens-platform + microlens-th + mtl + profunctors + tagged + template-haskell + text + th-abstraction + unordered-containers + vector + ]; + description = "Prisms and isomorphisms for microlens"; + license = lib.licenses.bsd3; + } + ) { }; + + microlens-pro_0_2_0_5 = callPackage ( { mkDerivation, base, @@ -446234,6 +446277,7 @@ self: { ]; description = "Prisms and isomorphisms for microlens"; license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; } ) { };