haskell-cabal-install: update ghc-8.8.x package set to latest git version

This commit is contained in:
Peter Simons 2019-05-12 09:26:55 +00:00
parent aa62499290
commit f944f8f9c5

View file

@ -41,8 +41,30 @@ self: super: {
unix = null;
xhtml = null;
# Use our native version of the Cabal library.
cabal-install = (doJailbreak super.cabal-install).overrideScope (self: super: { Cabal = null; });
# Use the current git version of cabal-install.
cabal-install = overrideCabal (super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal-git; })) (drv: {
src = pkgs.fetchFromGitHub {
owner = "haskell";
repo = "cabal";
rev = "e98f6c26fa301b49921c2df67934bf9b0a4f3386";
sha256 = "15nrkvckq2rw31z7grgbsg5f0gxfc09afsrqdfi4n471k630xd2i";
};
version = "20190510-git";
editedCabalFile = null;
postUnpack = "sourceRoot+=/cabal-install";
jailbreak = true;
});
Cabal-git = overrideCabal super.Cabal_2_4_1_0 (drv: {
src = pkgs.fetchFromGitHub {
owner = "haskell";
repo = "cabal";
rev = "e98f6c26fa301b49921c2df67934bf9b0a4f3386";
sha256 = "15nrkvckq2rw31z7grgbsg5f0gxfc09afsrqdfi4n471k630xd2i";
};
version = "20190510-git";
editedCabalFile = null;
postUnpack = "sourceRoot+=/Cabal";
});
# Ignore overly restrictive upper version bounds.
async = doJailbreak super.async;