diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 5ee0358ab4b8..7614e7c66e5c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2295,6 +2295,22 @@ self: super: { doctest-parallel = dontCheck super.doctest-parallel; clash-prelude = dontCheck super.clash-prelude; + krank = appendPatches [ + # Deal with removed exports in base + (pkgs.fetchpatch { + name = "krank-issue-97.patch"; + url = "https://github.com/guibou/krank/commit/f6b676774537f8e2357115fd8cd3c93fb68e8a85.patch"; + sha256 = "0d85q2x37yhjwp17wmqvblkna7p7vnl7rwdqr3kday46wvdgblgl"; + excludes = [ ".envrc" ]; + }) + # Fix build of tests with http-client >=0.7.16 + (pkgs.fetchpatch { + name = "krank-http-client-0.7.16.patch"; + url = "https://github.com/guibou/krank/commit/50fd3d08526f3ed6add3352460d3d1ce9dc15f6d.patch"; + sha256 = "0h15iir2v4pli2b72gv69amxs277xmmzw3wavrix74h9prbs4pms"; + }) + ] super.krank; + hermes-json = overrideCabal (drv: { # 2025-02-11: Upper bounds on hedgehog < 1.5 too strict. jailbreak = true; diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index 87b7e29485f5..c42130cdca20 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -3367,7 +3367,6 @@ broken-packages: - koofr-client # failure in job https://hydra.nixos.org/build/233255749 at 2023-09-02 - korea-holidays # failure in job https://hydra.nixos.org/build/233222677 at 2023-09-02 - kraken # failure in job https://hydra.nixos.org/build/233202384 at 2023-09-02 - - krank # failure in job https://hydra.nixos.org/build/252715958 at 2024-03-16 - krapsh # failure in job https://hydra.nixos.org/build/233219887 at 2023-09-02 - Kriens # failure in job https://hydra.nixos.org/build/233251673 at 2023-09-02 - krpc # failure in job https://hydra.nixos.org/build/233231587 at 2023-09-02 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index d04f75f1a660..0674ae870c7a 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -185721,9 +185721,7 @@ self: { ]; description = "Krank checks issue tracker link status in your source code"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; mainProgram = "krank"; - broken = true; }) {}; "krapsh" = callPackage