about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorRodney Lorrimar <dev@rodney.id.au>2024-03-03 19:43:05 +0800
committerRodney Lorrimar <dev@rodney.id.au>2024-03-03 19:43:05 +0800
commit507266bd8db8108423b0026e2c7aac30609b68c1 (patch)
treedc0eb639deeeb88df5674c896e15dd714e8e0861 /pkgs/development
parentb74f04cf79daa17529e9baaadff7377f4efa205c (diff)
downloadnixlib-507266bd8db8108423b0026e2c7aac30609b68c1.tar
nixlib-507266bd8db8108423b0026e2c7aac30609b68c1.tar.gz
nixlib-507266bd8db8108423b0026e2c7aac30609b68c1.tar.bz2
nixlib-507266bd8db8108423b0026e2c7aac30609b68c1.tar.lz
nixlib-507266bd8db8108423b0026e2c7aac30609b68c1.tar.xz
nixlib-507266bd8db8108423b0026e2c7aac30609b68c1.tar.zst
nixlib-507266bd8db8108423b0026e2c7aac30609b68c1.zip
haskellPackages.reflex-gi-gtk: Fix the build
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix11
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml1
2 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 118b70c4ebd0..d024d068e347 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1785,6 +1785,17 @@ self: super: {
   # https://github.com/obsidiansystems/dependent-sum/issues/55
   dependent-sum = doJailbreak super.dependent-sum;
 
+  # 2024-02-03: Jailbreak because pretty much every dependency has
+  # tight bounds, and disable building the example executable because
+  # it's not compatible with Reflex 0.9 (the library itself is
+  # compatible however).
+  # https://gitlab.com/Kritzefitz/reflex-gi-gtk/-/merge_requests/16
+  reflex-gi-gtk = assert super.reflex-gi-gtk.version == "0.2.0.0";
+    overrideCabal (drv: {
+      jailbreak = true;
+      buildTarget = drv.pname;  # just the library
+    }) super.reflex-gi-gtk;
+
   # 2022-06-19: Disable checks because of https://github.com/reflex-frp/reflex/issues/475
   reflex = doJailbreak (dontCheck super.reflex);
 
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
index 545c0cc79f19..c546c662cb0d 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
@@ -4591,7 +4591,6 @@ broken-packages:
   - reflex-dom-retractable # failure in job https://hydra.nixos.org/build/233198362 at 2023-09-02
   - reflex-dom-svg # failure in job https://hydra.nixos.org/build/233193544 at 2023-09-02
   - reflex-external-ref # failure in job https://hydra.nixos.org/build/233215834 at 2023-09-02
-  - reflex-gi-gtk # failure in job https://hydra.nixos.org/build/233213103 at 2023-09-02
   - reflex-gloss # failure in job https://hydra.nixos.org/build/234457448 at 2023-09-13
   - reflex-jsx # failure in job https://hydra.nixos.org/build/233207137 at 2023-09-02
   - reflex-orphans # failure in job https://hydra.nixos.org/build/233249128 at 2023-09-02