about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-08-14 10:58:24 +0200
committersternenseemann <sternenseemann@systemli.org>2023-08-14 10:58:24 +0200
commit4f88c9d750d6427faa6c30a70c384f305abfba10 (patch)
tree7d9ca5793ba82e5798f55f4307bf9a610ef97514 /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
parent658c5f1dcff19a09aa38ee43c4822797c607afde (diff)
downloadnixlib-4f88c9d750d6427faa6c30a70c384f305abfba10.tar
nixlib-4f88c9d750d6427faa6c30a70c384f305abfba10.tar.gz
nixlib-4f88c9d750d6427faa6c30a70c384f305abfba10.tar.bz2
nixlib-4f88c9d750d6427faa6c30a70c384f305abfba10.tar.lz
nixlib-4f88c9d750d6427faa6c30a70c384f305abfba10.tar.xz
nixlib-4f88c9d750d6427faa6c30a70c384f305abfba10.tar.zst
nixlib-4f88c9d750d6427faa6c30a70c384f305abfba10.zip
haskell.packages.*.weeder: provide algebraic-graphs < 0.7 if needed
weeder has no actively maintained support for older GHC versions, so we
need to partially restore historic install-plans when it is affected by
breaking changes in other libraries than GHC.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix8
1 files changed, 7 insertions, 1 deletions
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 c9ac2bae0f81..0e53c1935966 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
@@ -142,8 +142,14 @@ self: super: {
     (if isDarwin then appendConfigureFlags ["--ghc-option=-fcompact-unwind"] else x: x)
     super.inline-c-cpp;
 
-  # 2022-05-31: weeder 2.3.0 requires GHC 9.2
+  # 2022-05-31: weeder 2.4.* requires GHC 9.2
   weeder = doDistribute self.weeder_2_3_1;
+  # Unnecessarily strict upper bound on lens
+  weeder_2_3_1 = doJailbreak (super.weeder_2_3_1.override {
+    # weeder < 2.6 only supports algebraic-graphs < 0.7
+    # We no longer have matching test deps for algebraic-graphs 0.6.1 in the set
+    algebraic-graphs = dontCheck self.algebraic-graphs_0_6_1;
+  });
 
   # Restrictive upper bound on base and containers
   sv2v = doJailbreak super.sv2v;