diff options
author | sternenseemann <sternenseemann@systemli.org> | 2023-06-24 16:15:02 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-06-24 16:15:02 +0200 |
commit | f9184387e15f084152d273b664c6e256f546b7ce (patch) | |
tree | 9fd3dfd9a883518f04954ce77dc3a816c242b80e /pkgs/development/haskell-modules | |
parent | 3718dfbcda52d51262c1bcf32eb9c113337cff07 (diff) | |
download | nixlib-f9184387e15f084152d273b664c6e256f546b7ce.tar nixlib-f9184387e15f084152d273b664c6e256f546b7ce.tar.gz nixlib-f9184387e15f084152d273b664c6e256f546b7ce.tar.bz2 nixlib-f9184387e15f084152d273b664c6e256f546b7ce.tar.lz nixlib-f9184387e15f084152d273b664c6e256f546b7ce.tar.xz nixlib-f9184387e15f084152d273b664c6e256f546b7ce.tar.zst nixlib-f9184387e15f084152d273b664c6e256f546b7ce.zip |
haskellPackages.jsaddle-webkit2gtk: drop upstreamed patch
While we're at it, replace the bound adjustments by patches, so we'll notice when they are no longer necessary.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 927a2ddda73d..552ab377fcc3 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1397,21 +1397,24 @@ self: super: { }); }; - - # 2023-04-16: https://github.com/ghcjs/jsaddle/pull/137 - jsaddle-webkit2gtk = lib.pipe super.jsaddle-webkit2gtk - [ - (appendPatch (fetchpatch { - url = "https://github.com/ghcjs/jsaddle/commit/f990366f19d23a8008d482572d52351c1a6f7215.patch"; - hash = "sha256-IbkJrlyG6q5rqMIhn//Dt3u6T314Pug+mQMwwe0LK5w="; - relative = "jsaddle-webkit2gtk"; - })) - (overrideCabal (old: { - postPatch = old.postPatch or "" + '' - sed -i 's/bytestring.*0.11/bytestring/' jsaddle-webkit2gtk.cabal - ''; - })) - ]; + # 2023-06-24: too strict upper bound on bytestring + jsaddle-webkit2gtk = + appendPatches [ + (pkgs.fetchpatch { + name = "jsaddle-webkit2gtk-ghc-9.2.patch"; + url = "https://github.com/ghcjs/jsaddle/commit/d2ce9e6be1dcba0ab417314a0b848012d1a47e03.diff"; + stripLen = 1; + includes = [ "jsaddle-webkit2gtk.cabal" ]; + sha256 = "16pcs3l7s8shhcnrhi80bwjgy7w23csd9b8qpmc5lnxn4wxr4c2r"; + }) + (pkgs.fetchpatch { + name = "jsaddle-webkit2gtk-ghc-9.6.patch"; + url = "https://github.com/ghcjs/jsaddle/commit/99b23dac8b4c5b23f5ed7963e681a46c1abdd1a5.patch"; + sha256 = "02rdifap9vzf6bhjp5siw68ghjrxh2phzd0kwjihf3hxi4a2xlp3"; + stripLen = 1; + includes = [ "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: { |