about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-04-26 19:22:01 +0200
committersternenseemann <sternenseemann@systemli.org>2022-04-26 19:22:43 +0200
commitcaa10b0bee9b8dfff90f8201bbf3949e4a2cd5b7 (patch)
tree5fb6fdaf49edad0e54c7ad7f4fa9bb6d662e4bef /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
parent8022f7155904c3f9f1ea82105f9780c5ea1b4f96 (diff)
downloadnixlib-caa10b0bee9b8dfff90f8201bbf3949e4a2cd5b7.tar
nixlib-caa10b0bee9b8dfff90f8201bbf3949e4a2cd5b7.tar.gz
nixlib-caa10b0bee9b8dfff90f8201bbf3949e4a2cd5b7.tar.bz2
nixlib-caa10b0bee9b8dfff90f8201bbf3949e4a2cd5b7.tar.lz
nixlib-caa10b0bee9b8dfff90f8201bbf3949e4a2cd5b7.tar.xz
nixlib-caa10b0bee9b8dfff90f8201bbf3949e4a2cd5b7.tar.zst
nixlib-caa10b0bee9b8dfff90f8201bbf3949e4a2cd5b7.zip
haskell.packages.ghc8{84,107}.universe-base: provide OneTuple
universe-base conditionally depends on OneTuple for GHC < 9.0 which we
need to manually reflect via these overrides.
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.nix3
1 files changed, 3 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 9a6e8ccab16d..98eaab707317 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -162,4 +162,7 @@ self: super: {
 
   # https://github.com/fpco/inline-c/issues/127 (recommend to upgrade to Nixpkgs GHC >=9.0)
   inline-c-cpp = (if isDarwin then dontCheck else x: x) super.inline-c-cpp;
+
+  # Depends on OneTuple for GHC < 9.0
+  universe-base = addBuildDepends [ self.OneTuple ] super.universe-base;
 }