summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix26
1 files changed, 6 insertions, 20 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
index f14f0b0ebd1..e37c7bb2d3e 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
@@ -86,28 +86,14 @@ self: super: {
   # https://github.com/purescript/purescript/issues/3189
   purescript = doJailbreak (super.purescript);
 
-  # Needs text >=1.2.3.0 && <1.3, which is not the default yet.
-  Cabal_2_2_0_0 = super.Cabal_2_2_0_0.overrideScope (self: super: {
-    text = self.text_1_2_3_0;
-  });
-
   # These packages need Cabal 2.2.x, which is not the default.
-  distribution-nixpkgs = super.distribution-nixpkgs.overrideScope (self: super: {
-    Cabal = self.Cabal_2_2_0_0;
-    text = self.text_1_2_3_0;
-  });
-  hackage-db_2_0_1 = super.hackage-db_2_0_1.overrideScope (self: super: {
-    Cabal = self.Cabal_2_2_0_0;
-    text = self.text_1_2_3_0;
-  });
-  cabal2nix = super.cabal2nix.overrideScope (self: super: {
-    Cabal = self.Cabal_2_2_0_0;
-    text = self.text_1_2_3_0;
-  });
-  stylish-cabal = dontHaddock (dontCheck (super.stylish-cabal.overrideScope (self: super: {
+  distribution-nixpkgs = super.distribution-nixpkgs.overrideScope (self: super: { Cabal = self.Cabal_2_2_0_0; });
+  hackage-db_2_0_1 = super.hackage-db_2_0_1.overrideScope (self: super: { Cabal = self.Cabal_2_2_0_0; });
+  cabal2nix = super.cabal2nix.overrideScope (self: super: { Cabal = self.Cabal_2_2_0_0; });
+  cabal2spec = super.cabal2spec.overrideScope (self: super: { Cabal = self.Cabal_2_2_0_0; });
+  stylish-cabal = dontCheck (super.stylish-cabal.overrideScope (self: super: {
     Cabal = self.Cabal_2_2_0_0;
-    text = self.text_1_2_3_0;
     haddock-library = dontHaddock (dontCheck self.haddock-library_1_5_0_1);
-  })));
+  }));
 
 }