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 b09cd1144125..8bfa2bf69a16 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix @@ -147,8 +147,7 @@ in { ] ++ drv.testFlags or []; }) (doJailbreak super.hpack); - # lens >= 5.1 supports 9.2.1 - lens = doDistribute self.lens_5_2; + lens = doDistribute self.lens_5_2_1; # Apply patches from head.hackage. language-haskell-extract = appendPatch (pkgs.fetchpatch {