From ec2c273190317a9a4add52da2cbbb8f830e25938 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Thu, 10 Mar 2022 13:49:59 +0100 Subject: [PATCH] haskell.packages.ghc922.servant*: Jailbreak and patch --- .../haskell-modules/configuration-ghc-9.2.x.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index 058791fafbd3..d0994df6f678 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -126,6 +126,18 @@ self: super: { retrie = doDistribute (dontCheck self.retrie_1_2_0_1); singleton-bool = doJailbreak super.singleton-bool; scientific = doJailbreak super.scientific; + servant = doJailbreak super.servant; + servant-auth = doJailbreak super.servant-auth; + servant-server = appendPatches [ + # awaiting release + (pkgs.fetchpatch { + url = "https://github.com/haskell-servant/servant/commit/61d0d14b5cb01db3d589101b3f17b0178f52e386.diff"; + stripLen = 1; + sha256 = "sha256-trkXnzT4ZGLT2GKRJXQryuscR4K/FqKxSvTf26eePm0="; + }) + ] (doJailbreak super.servant-server); + servant-swagger = doJailbreak super.servant-swagger; + servant-auth-swagger = doJailbreak super.servant-auth-swagger; shelly = doJailbreak super.shelly; split = doJailbreak super.split; splitmix = doJailbreak super.splitmix;