From 9dd7204f9fe12be20714f940fda2769c55360d70 Mon Sep 17 00:00:00 2001 From: Ai-Ya-Ya Date: Thu, 19 Feb 2026 13:07:16 +0000 Subject: [PATCH] haskellPackages.hip: increase simplifier ticks build fails on GHC 9.10 due to simplifier ticks exhausted (https://github.com/lehins/hip/issues/56), simply increase tick threshold relevant PR: https://github.com/lehins/hip/pull/57 --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++++ .../haskell-modules/configuration-hackage2nix/broken.yaml | 1 - .../configuration-hackage2nix/transitive-broken.yaml | 1 - pkgs/development/haskell-modules/hackage-packages.nix | 3 --- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 662c682aaf17..0c441e455839 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2519,6 +2519,14 @@ with haskellLib; ]; }) super.hexstring; + # 2026-02-19: GHC 9.10 increased simplifier ticks, need higher threshold + # https://github.com/lehins/hip/issues/56 + hip = overrideCabal (drv: { + configureFlags = (drv.configureFlags or [ ]) ++ [ + "--ghc-options=-fsimpl-tick-factor=200" + ]; + }) super.hip; + # Disabling doctests. regex-tdfa = overrideCabal { testTargets = [ "regex-tdfa-unittest" ]; diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index e5a36380aa7d..e06403081e99 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -2805,7 +2805,6 @@ broken-packages: - hint-server # failure in job https://hydra.nixos.org/build/233240346 at 2023-09-02 - hinter # failure in job https://hydra.nixos.org/build/233245954 at 2023-09-02 - hinterface # failure in job https://hydra.nixos.org/build/233250383 at 2023-09-02 - - hip # failure in job https://hydra.nixos.org/build/307610903 at 2025-09-19 - hipchat-hs # failure in job https://hydra.nixos.org/build/233198550 at 2023-09-02 - Hipmunk # failure in job https://hydra.nixos.org/build/233259272 at 2023-09-02 - hips # failure in job https://hydra.nixos.org/build/252728413 at 2024-03-16 diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml index 7359735857a0..61a3d506cbb6 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml @@ -2576,7 +2576,6 @@ dont-distribute-packages: - penny-bin - penny-lib - peparser - - perceptual-hash - perdure - perf-analysis - perfecthash diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 1267027d8f2f..b2c6847883ec 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -334080,8 +334080,6 @@ self: { ]; description = "Haskell Image Processing (HIP) Library"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; } ) { }; @@ -519860,7 +519858,6 @@ self: { benchmarkToolDepends = [ cpphs ]; description = "Find duplicate images"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; mainProgram = "phash"; } ) { };