mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
haskell-pandoc: new versions compile with Cabal 2.x out of the box
This commit is contained in:
parent
88630c94ae
commit
62079ef824
1 changed files with 0 additions and 12 deletions
|
@ -71,18 +71,6 @@ self: super: {
|
|||
# https://github.com/aristidb/aws/issues/238
|
||||
aws = doJailbreak super.aws;
|
||||
|
||||
# https://github.com/jgm/pandoc/issues/3876
|
||||
pandoc = let fixSetup = pkgs.fetchpatch {
|
||||
url = "https://github.com/jgm/pandoc/pull/3899.patch";
|
||||
sha256 = "0lk9vs2l1wc1kr0y8fkdcarfi4sjd3dl81r52n39r25xx9kqawv7";
|
||||
};
|
||||
in overrideCabal super.pandoc (drv: {
|
||||
editedCabalFile = null;
|
||||
patches = drv.patches or [] ++ [fixSetup];
|
||||
setupHaskellDepends = drv.setupHaskellDepends or [self.Cabal_1_24_2_0];
|
||||
preCompileBuildDriver = "setupCompileFlags+=' -package=Cabal-1.24.2.0'";
|
||||
});
|
||||
|
||||
# LTS-9 versions do not compile.
|
||||
path = dontCheck super.path;
|
||||
path-io = super.path-io_1_3_3;
|
||||
|
|
Loading…
Reference in a new issue