about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2024-03-19 11:34:44 +0100
committerNaïm Favier <n@monade.li>2024-03-19 11:34:44 +0100
commitd85d0016cab19ea9289707c0e322128006920f45 (patch)
treec135b92933ce232e71dccf38257c75e691d1f312 /pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix
parenta86c5b3e6f8371559eb0cf0cdd6268c9ccf6db7a (diff)
haskell.packages.ghc98.ghc-exactprint: pin to 1.8
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix
index ae0747c26d7ae..ff1648e8a474d 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix
@@ -61,6 +61,20 @@ self: super: {
   attoparsec-aeson = doDistribute self.attoparsec-aeson_2_2_0_1;
   xmonad = doDistribute self.xmonad_0_18_0;
 
+  # A given major version of ghc-exactprint only supports one version of GHC.
+  ghc-exactprint = self.ghc-exactprint_1_8_0_0;
+  ghc-exactprint_1_8_0_0 = addBuildDepends [
+    self.Diff
+    self.HUnit
+    self.data-default
+    self.extra
+    self.free
+    self.ghc-paths
+    self.ordered-containers
+    self.silently
+    self.syb
+  ] super.ghc-exactprint_1_8_0_0;
+
   #
   # Jailbreaks
   #