From b14722944481d6ad05e4e020a96202e810fb1836 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Sat, 22 Apr 2023 14:36:11 +0000 Subject: [PATCH] haskell.packages.ghc96.hourglass: pull test fix --- .../haskell-modules/configuration-ghc-9.6.x.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix index c7e7ce62219c..debb0b0b062f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix @@ -122,6 +122,18 @@ self: super: { }) ] (super.foundation); + # Add support for time 1.10 + # https://github.com/vincenthz/hs-hourglass/pull/56 + hourglass = appendPatches [ + (pkgs.fetchpatch { + name = "hourglass-pr-56.patch"; + url = + "https://github.com/vincenthz/hs-hourglass/commit/cfc2a4b01f9993b1b51432f0a95fa6730d9a558a.patch"; + sha256 = "sha256-gntZf7RkaR4qzrhjrXSC69jE44SknPDBmfs4z9rVa5Q="; + }) + ] (super.hourglass); + + # Test suite doesn't compile with base-4.18 / GHC 9.6 # https://github.com/dreixel/syb/issues/40 syb = dontCheck super.syb;