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-03-25 13:21:16 +0100
committersternenseemann <sternenseemann@systemli.org>2022-03-25 14:20:55 +0100
commitc1f8889beb3242322aa972019b417913a54e00a9 (patch)
treeef1cdb36ed3ffdd9f202c4aa8d02f531f46ca666 /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
parent656d5a2155304c7d62e398ce6aa0988c13a63829 (diff)
downloadnixlib-c1f8889beb3242322aa972019b417913a54e00a9.tar
nixlib-c1f8889beb3242322aa972019b417913a54e00a9.tar.gz
nixlib-c1f8889beb3242322aa972019b417913a54e00a9.tar.bz2
nixlib-c1f8889beb3242322aa972019b417913a54e00a9.tar.lz
nixlib-c1f8889beb3242322aa972019b417913a54e00a9.tar.xz
nixlib-c1f8889beb3242322aa972019b417913a54e00a9.tar.zst
nixlib-c1f8889beb3242322aa972019b417913a54e00a9.zip
haskell.packages.ghc{884,8017}.mysql-simple: provide blaze-textual
The package shims blaze-textual for GHC >= 9.0 and makes its inclusion
conditional, causing hackage2nix to miss this dependency.
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.nix6
1 files changed, 6 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 6b6a40cc8dc7..0ff1294c1dbf 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -147,4 +147,10 @@ self: super: {
   OneTuple = super.OneTuple.override {
     ghc-prim = self.hashable;
   };
+
+  # Temporarily disabled blaze-textual for GHC >= 9.0 causing hackage2nix ignoring it
+  # https://github.com/paul-rouse/mysql-simple/blob/872604f87044ff6d1a240d9819a16c2bdf4ed8f5/Database/MySQL/Internal/Blaze.hs#L4-L10
+  mysql-simple = addBuildDepends [
+    self.blaze-textual
+  ] super.mysql-simple;
 }