diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index dfdad72cd3d..53da845210e 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -21,13 +21,6 @@ self: super: ''; }); - mkDerivation = drv: super.mkDerivation (drv // { - # Need Cabal lib to be available. - libraryHaskellDepends = drv.libraryHaskellDepends - # Be careful not to end up in infinite recursion! - ++ pkgs.lib.optional (!(builtins.elem drv.pname ["Cabal" "hscolour"])) self.Cabal; - }); - # LLVM is not supported on this GHC; use the latest one. inherit (pkgs) llvmPackages;