From 84bd9be9ce463fb7860e84033dff263fbfac6d12 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 17 Mar 2018 17:30:32 +0100 Subject: [PATCH] haskell-cabal2spec: fix build with ghc-8.2.x --- pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 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 c6e9f40a316..e37c7bb2d3e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix @@ -90,9 +90,10 @@ 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; }); - stylish-cabal = dontHaddock (dontCheck (super.stylish-cabal.overrideScope (self: super: { + 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; haddock-library = dontHaddock (dontCheck self.haddock-library_1_5_0_1); - }))); + })); }