From 76be4bd38157740144cec1cc30107dfcca9af927 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 21 Mar 2022 21:49:08 +0100 Subject: [PATCH] haskellPackages.moto: Patch for GHC 9.0 --- .../haskell-modules/configuration-common.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 435efe74f04c..858bb6018e15 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1733,6 +1733,16 @@ self: super: { }) ] super.pipes-aeson; + moto = appendPatches [ + # https://gitlab.com/k0001/moto/-/merge_requests/3 + (pkgs.fetchpatch { + name = "moto-ghc-9.0.patch"; + url = "https://gitlab.com/k0001/moto/-/commit/5b6f015a1271765005f03762f1f1aaed3a3198ed.patch"; + stripLen = 1; + sha256 = "sha256-PqG/Ujvb/IOvX0SAeGZ/vgzNoZC68vIOwmYfhxjiYCg="; + }) + ] super.moto; + # Readline uses Distribution.Simple from Cabal 2, in a way that is not # compatible with Cabal 3. No upstream repository found so far readline = appendPatch ./patches/readline-fix-for-cabal-3.patch super.readline;