From 4d779b0e8ed7d2925c0a593a4e6071f7c6f66fc8 Mon Sep 17 00:00:00 2001 From: Vaibhav Sagar Date: Thu, 29 Aug 2019 18:10:13 -0400 Subject: [PATCH] haskell.packages.ghc881.shelly: fix build --- .../haskell-modules/configuration-ghc-8.8.x.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index 5d33fc22c72..cdc963386f8 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -163,6 +163,16 @@ self: super: { broken = false; }); th-expand-syns = doJailbreak super.th-expand-syns; + shelly = overrideCabal (appendPatch (doJailbreak super.shelly) (pkgs.fetchpatch { + url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/shelly-1.8.1.patch"; + sha256 = "1kglbwrr4ra81v9x3bfsk5l6pyl0my2a1zkr3qjjx7acn0dfpgbc"; + })) (drv: { + editedCabalFile = null; + preConfigure = '' + cp -v ${pkgs.fetchurl {url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/shelly-1.8.1.cabal"; sha256 = "0crf0m077wky76f5nav2p9q4fa5q4yhv5l4bq9hd073dzdaywhz0";}} shelly.cabal + sed -i -e 's/< 1.9,/< 2,/' shelly.cabal # bump time version + ''; + }); system-fileio = doJailbreak super.system-fileio; yaml = self.yaml_0_11_1_2; }