From 58bb9995a8a9f192d9e94ce842d728e8ab1d8332 Mon Sep 17 00:00:00 2001 From: Neil Mayhew Date: Sun, 15 May 2022 15:08:07 -0600 Subject: [PATCH] haskellPackages.debian: Fix test failures for ghc 9 --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 109ab8b9fe8..9a4d5ac6322 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2645,4 +2645,11 @@ self: super: { servant-cassava = assert super.servant-cassava.version == "0.10.1"; doJailbreak super.servant-cassava; + # Fix tests failure for ghc 9 (https://github.com/clinty/debian-haskell/pull/3) + debian = appendPatch (fetchpatch { + name = "debian-haskell.3.patch"; + url = "https://github.com/clinty/debian-haskell/pull/3/commits/47441c8e4a7a00a3c8825eec98bf7a823594f9be.patch"; + sha256 = "0wxpqazjnal9naibapg63nm7x6qz0lklcfw2m5mzjrh2q9x2cvnd"; + }) super.debian; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super