summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2020-06-29 11:03:06 +0200
committerMalte Brandy <malte.brandy@maralorn.de>2020-06-29 14:30:53 +0200
commitdf73cc36317106451d7a90dd5733bb5a1fd52460 (patch)
tree07bbd161a5a55d13dfde88320275b0d92e327fde /pkgs/development/haskell-modules/configuration-common.nix
parent293fe13b9edbe1139cff0d79dab75e6bbbb08ded (diff)
downloadnixpkgs-df73cc36317106451d7a90dd5733bb5a1fd52460.tar
nixpkgs-df73cc36317106451d7a90dd5733bb5a1fd52460.tar.gz
nixpkgs-df73cc36317106451d7a90dd5733bb5a1fd52460.tar.bz2
nixpkgs-df73cc36317106451d7a90dd5733bb5a1fd52460.tar.lz
nixpkgs-df73cc36317106451d7a90dd5733bb5a1fd52460.tar.xz
nixpkgs-df73cc36317106451d7a90dd5733bb5a1fd52460.tar.zst
nixpkgs-df73cc36317106451d7a90dd5733bb5a1fd52460.zip
haskellPackages.gi-webkit2: Fix build
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 7ade5ede29d..ea086bacf78 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