haskell-pandoc: new versions compile with Cabal 2.x out of the box

-12
-12
pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
··· 71 71 # https://github.com/aristidb/aws/issues/238 72 72 aws = doJailbreak super.aws; 73 73 74 - # https://github.com/jgm/pandoc/issues/3876 75 - pandoc = let fixSetup = pkgs.fetchpatch { 76 - url = "https://github.com/jgm/pandoc/pull/3899.patch"; 77 - sha256 = "0lk9vs2l1wc1kr0y8fkdcarfi4sjd3dl81r52n39r25xx9kqawv7"; 78 - }; 79 - in overrideCabal super.pandoc (drv: { 80 - editedCabalFile = null; 81 - patches = drv.patches or [] ++ [fixSetup]; 82 - setupHaskellDepends = drv.setupHaskellDepends or [self.Cabal_1_24_2_0]; 83 - preCompileBuildDriver = "setupCompileFlags+=' -package=Cabal-1.24.2.0'"; 84 - }); 85 - 86 74 # LTS-9 versions do not compile. 87 75 path = dontCheck super.path; 88 76 path-io = super.path-io_1_3_3;