mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
haskell-cabal-install: update ghc-8.8.x package set to latest git version
This commit is contained in:
parent
aa62499290
commit
f944f8f9c5
1 changed files with 24 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue