From 2bccaaaea050d64222b33336ccc2d19cc23c7f67 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Tue, 14 Jan 2025 15:40:56 +0000 Subject: [PATCH] haskellPackages.relude: support hedgehog 1.5 --- .../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 5b559dc7c09e..a7660d03e68d 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2464,6 +2464,15 @@ self: super: { # 2022-03-16: Upstream stopped updating bounds https://github.com/haskell-hvr/base-noprelude/pull/15 base-noprelude = doJailbreak super.base-noprelude; + # 2024-01-14: Support hedgehog 1.5 https://github.com/kowainik/relude/pull/463/ + relude = appendPatch (fetchpatch { + url = "https://github.com/kowainik/relude/commit/b6bf99ee83e929d11bd4088d6a1d928c3ce0070b.patch"; + sha256 = "sha256-YhGZ0l7FuTyLee1b2yGcvxdvwgnOhZBy7qTg7aymmDc="; + }) (overrideCabal (drv: { + revision = null; + editedCabalFile = null; + }) super.relude); + # doJailbreak: too strict bounds on chell: https://github.com/fpco/haskell-filesystem/issues/24 # dontCheck: tests don't typecheck after ghc 8.4 (possibly introduced by api change of unix library) system-fileio = doJailbreak (dontCheck super.system-fileio);