From 09de6885112ec46a451ee0782ec94fa0b760bea0 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Sat, 22 Apr 2023 14:15:11 +0000 Subject: [PATCH] haskell.packages.ghc96.newtype-generics: relax base bound --- pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | 3 +++ 1 file changed, 3 insertions(+) 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 #