about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
diff options
context:
space:
mode:
authorTristan Cacqueray <tdecacqu@redhat.com>2023-04-22 14:15:11 +0000
committerTristan Cacqueray <tdecacqu@redhat.com>2023-04-22 10:15:50 -0400
commit09de6885112ec46a451ee0782ec94fa0b760bea0 (patch)
tree9ea883b4a267d05c57628b277c9615d839db7c7e /pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
parent86bb552bfbc90e544072b22d27486cc3bf258d01 (diff)
downloadnixlib-09de6885112ec46a451ee0782ec94fa0b760bea0.tar
nixlib-09de6885112ec46a451ee0782ec94fa0b760bea0.tar.gz
nixlib-09de6885112ec46a451ee0782ec94fa0b760bea0.tar.bz2
nixlib-09de6885112ec46a451ee0782ec94fa0b760bea0.tar.lz
nixlib-09de6885112ec46a451ee0782ec94fa0b760bea0.tar.xz
nixlib-09de6885112ec46a451ee0782ec94fa0b760bea0.tar.zst
nixlib-09de6885112ec46a451ee0782ec94fa0b760bea0.zip
haskell.packages.ghc96.newtype-generics: relax base bound
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
index c7e7ce62219c..743510d81987 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
@@ -93,6 +93,9 @@ self: super: {
   # Forbids base >= 4.18
   lukko = doJailbreak super.lukko;
 
+  # Forbids base >= 4.18, fix proposed: https://github.com/sjakobi/newtype-generics/pull/25
+  newtype-generics = assert !(self ? newtype-generics_0_6_2); doJailbreak super.newtype-generics;
+
   #
   # Too strict bounds, waiting on Hackage release in nixpkgs
   #