diff options
author | sternenseemann <sternenseemann@systemli.org> | 2024-01-08 12:18:14 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2024-01-08 12:18:14 +0100 |
commit | a2dd913a78eba74c799fe2ce6f278a5e6ad0822b (patch) | |
tree | a6187569102aff3bbe123214d3525499c4247f00 /pkgs/development/haskell-modules | |
parent | c83116b474156f1e2ef07ef569fd46581688ffb8 (diff) | |
download | nixlib-a2dd913a78eba74c799fe2ce6f278a5e6ad0822b.tar nixlib-a2dd913a78eba74c799fe2ce6f278a5e6ad0822b.tar.gz nixlib-a2dd913a78eba74c799fe2ce6f278a5e6ad0822b.tar.bz2 nixlib-a2dd913a78eba74c799fe2ce6f278a5e6ad0822b.tar.lz nixlib-a2dd913a78eba74c799fe2ce6f278a5e6ad0822b.tar.xz nixlib-a2dd913a78eba74c799fe2ce6f278a5e6ad0822b.tar.zst nixlib-a2dd913a78eba74c799fe2ce6f278a5e6ad0822b.zip |
haskell.packages.*.indexed-traversable: provide compat lib if needed
Diffstat (limited to 'pkgs/development/haskell-modules')
4 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 8b4399af2076..c2fc6f962d9c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -170,4 +170,9 @@ self: super: { # No instance for (Show B.Builder) arising from a use of ‘print’ http-types = dontCheck super.http-types; + + # Needs compat library for GHC < 9.6 + indexed-traversable = addBuildDepends [ + self.foldable1-classes-compat + ] super.indexed-traversable; } diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix index 69eea055315a..6932dbc4843a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -135,4 +135,9 @@ self: super: { # No instance for (Show B.Builder) arising from a use of ‘print’ http-types = dontCheck super.http-types; + + # Needs compat library for GHC < 9.6 + indexed-traversable = addBuildDepends [ + self.foldable1-classes-compat + ] super.indexed-traversable; } diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index 5ffca6a50bc6..11a9d8a606dc 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -127,4 +127,9 @@ self: super: { # Requires GHC < 9.4 ghc-source-gen = doDistribute (unmarkBroken super.ghc-source-gen); + + # Needs compat library for GHC < 9.6 + indexed-traversable = addBuildDepends [ + self.foldable1-classes-compat + ] super.indexed-traversable; } diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix index d8a79b01ab3d..3e82db679126 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix @@ -126,4 +126,9 @@ in { hlint stylish-haskell ; + + # Needs compat library for GHC < 9.6 + indexed-traversable = addBuildDepends [ + self.foldable1-classes-compat + ] super.indexed-traversable; } |