@@ -41,8 +41,30 @@ self: super: {
4141 unix = null;
4242 xhtml = null;
4343
44− # Use our native version of the Cabal library.
45− cabal-install = (doJailbreak super.cabal-install).overrideScope (self: super: { Cabal = null; });
44+ # Use the current git version of cabal-install.
45+ cabal-install = overrideCabal (super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal-git; })) (drv: {
46+ src = pkgs.fetchFromGitHub {
47+ owner = "haskell";
48+ repo = "cabal";
49+ rev = "e98f6c26fa301b49921c2df67934bf9b0a4f3386";
50+ sha256 = "15nrkvckq2rw31z7grgbsg5f0gxfc09afsrqdfi4n471k630xd2i";
51+ };
52+ version = "20190510-git";
53+ editedCabalFile = null;
54+ postUnpack = "sourceRoot+=/cabal-install";
55+ jailbreak = true;
56+ });
57+ Cabal-git = overrideCabal super.Cabal_2_4_1_0 (drv: {
58+ src = pkgs.fetchFromGitHub {
59+ owner = "haskell";
60+ repo = "cabal";
61+ rev = "e98f6c26fa301b49921c2df67934bf9b0a4f3386";
62+ sha256 = "15nrkvckq2rw31z7grgbsg5f0gxfc09afsrqdfi4n471k630xd2i";
63+ };
64+ version = "20190510-git";
65+ editedCabalFile = null;
66+ postUnpack = "sourceRoot+=/Cabal";
67+ });
4668
4769 # Ignore overly restrictive upper version bounds.
4870 async = doJailbreak super.async;