summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2020-04-24 21:17:30 +0200
committerPeter Simons <simons@cryp.to>2020-04-24 22:00:39 +0200
commita1463efcdef66b95cf95827d417515abc59c3d3f (patch)
tree2e8419ef91c39216d13b94a84193944af7e7ab19 /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
parentda45fd982f6ec352e2adbd183c59a58139f5f769 (diff)
downloadnixpkgs-a1463efcdef66b95cf95827d417515abc59c3d3f.tar
nixpkgs-a1463efcdef66b95cf95827d417515abc59c3d3f.tar.gz
nixpkgs-a1463efcdef66b95cf95827d417515abc59c3d3f.tar.bz2
nixpkgs-a1463efcdef66b95cf95827d417515abc59c3d3f.tar.lz
nixpkgs-a1463efcdef66b95cf95827d417515abc59c3d3f.tar.xz
nixpkgs-a1463efcdef66b95cf95827d417515abc59c3d3f.tar.zst
nixpkgs-a1463efcdef66b95cf95827d417515abc59c3d3f.zip
haskell-haddock: fix build with our default compiler ghc-8.8.3
Fixes https://github.com/NixOS/nixpkgs/issues/85728.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
index 56fdcede7cb..bdd5a9007d7 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -41,6 +41,10 @@ self: super: {
   unix = null;
   xhtml = null;
 
+  # GHC 8.8.x can build haddock version 2.23.*
+  haddock = self.haddock_2_23_1;
+  haddock-api = self.haddock-api_2_23_1;
+
   # These builds need Cabal 3.2.x.
   cabal2spec = super.cabal2spec.override { Cabal = self.Cabal_3_2_0_0; };
   cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_3_2_0_0; });