From 1663bfb055ccad80c2436fb06caad844beb9858c Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Mon, 15 Sep 2025 22:47:55 +0100 Subject: [PATCH] haskellPackages.jsaddle-warp: fix on firefox --- .../haskell-modules/configuration-common.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index f1996f88a49f..251c8e156320 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1766,6 +1766,20 @@ with haskellLib; unmarkBroken ]; + # https://github.com/ghcjs/jsaddle/pull/160/ + jsaddle = appendPatch (fetchpatch { + name = "fix-on-firefox.patch"; + url = "https://github.com/ghcjs/jsaddle/commit/71ef7f0cbc60a380ba0dc299e758c8f90cc4b526.patch"; + relative = "jsaddle"; + sha256 = "sha256-IBOX74r+lyywVWp0ZucoseeevFrGiInkq7V6RoWADNU="; + }) super.jsaddle; + jsaddle-warp = appendPatch (fetchpatch { + name = "fix-on-firefox.patch"; + url = "https://github.com/ghcjs/jsaddle/commit/71ef7f0cbc60a380ba0dc299e758c8f90cc4b526.patch"; + relative = "jsaddle-warp"; + sha256 = "sha256-jYEUOkP4Kv3yBjo3SbN7sruV+T5R5XWbRFcCUAa6HvE="; + }) super.jsaddle-warp; + # https://github.com/ghcjs/jsaddle/issues/151 jsaddle-webkit2gtk = overrideCabal