about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authormaralorn <mail@maralorn.de>2023-08-08 15:18:50 +0200
committermaralorn <mail@maralorn.de>2023-08-08 16:04:05 +0200
commit9fda0fb7ecb7a8771382a8d1f57f94b28e6c57a4 (patch)
tree86a72127680ba26b82bbbce44855441fc7f5d4ca /pkgs/development/haskell-modules
parentc9ac4ccecbc56ed58a01192462c1d232050bc0c8 (diff)
haskellPackages.jsaddle-webkit2gtk: allow-newer: aeson, text
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index b1f9c39d4fa88..892e048843691 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1438,7 +1438,6 @@ self: super: {
     });
   };
 
-  # 2023-06-24: too strict upper bound on bytestring
   jsaddle-webkit2gtk =
     appendPatches [
       (pkgs.fetchpatch {
@@ -1455,7 +1454,14 @@ self: super: {
         stripLen = 1;
         includes = [ "jsaddle-webkit2gtk.cabal" ];
       })
-    ] super.jsaddle-webkit2gtk;
+    ]
+    (overrideCabal (old: {
+      postPatch = old.postPatch or "" + ''
+        sed -i 's/aeson.*,/aeson,/' jsaddle-webkit2gtk.cabal
+        sed -i 's/text.*,/text,/' jsaddle-webkit2gtk.cabal
+      '';
+    })
+    super.jsaddle-webkit2gtk);
 
   # 2022-03-16: lens bound can be loosened https://github.com/ghcjs/jsaddle-dom/issues/19
   jsaddle-dom = overrideCabal (old: {