From df73cc36317106451d7a90dd5733bb5a1fd52460 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Mon, 29 Jun 2020 11:03:06 +0200 Subject: [PATCH] haskellPackages.gi-webkit2: Fix build --- .../development/haskell-modules/configuration-common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 7ade5ede29d6..ea086bacf78f 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1419,4 +1419,13 @@ self: super: { # https://github.com/kowainik/policeman/issues/57 policeman = doJailbreak super.policeman; + # 2020-06-29: These three packages have bumped their dependencies for haskell-gi and haskell-gi-base beyond stack-lts. + # Choosing a jailbreak, because a version override would rebuild most of the glibverse and the packages still build with the older version. + gi-javascriptcore = + # Remove these jailbreaks, when assert fails. + assert (pkgs.lib.versionOlder super.haskell-gi-base.version "0.24"); + doJailbreak super.gi-javascriptcore; + gi-soup = doJailbreak super.gi-soup; + gi-webkit2 = doJailbreak super.gi-webkit2; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super