From ff9be3cd21d0c7b7408a9d9dbf26f4a59f0b2f53 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Tue, 22 Mar 2022 00:20:05 +0100 Subject: [PATCH] haskellPackages.jsaddle-webkit2gtk: add patch --- .../haskell-modules/configuration-common.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 951f81604809..5d609a77b385 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2064,6 +2064,19 @@ self: super: { '' + (drv.postPatch or ""); }) (doJailbreak super.jsaddle); + # 2022-03-22: PR for haskell-gi-base compat https://github.com/ghcjs/jsaddle/pull/129 + jsaddle-webkit2gtk = + appendPatch ( + pkgs.fetchpatch { + name = "haskell-gi-base-0.26-compat-patch"; + url = "https://github.com/ghcjs/jsaddle/commit/c9a9ad39addea469f7e3f5bc6b1c778fefaab5d8.patch"; + sha256 = "sha256-4njoOxtJH2jVqiPmW8f9hGUqpzI3yJ1XP4u85QgmvjU="; + stripLen = 2; + extraPrefix = ""; + } + ) + super.jsaddle-webkit2gtk; + # Tests need to lookup target triple x86_64-unknown-linux # https://github.com/llvm-hs/llvm-hs/issues/334 llvm-hs = overrideCabal {