diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index e5f9456f7aae..8549ec049a67 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1037,10 +1037,13 @@ self: super: { # Generate shell completion. cabal2nix = generateOptparseApplicativeCompletion "cabal2nix" super.cabal2nix; + + # 2022-03-20: niv is unmaintained we pin stuff to keep it running niv = generateOptparseApplicativeCompletion "niv" (super.niv.overrideScope (self: super: { - # Needs override because of: https://github.com/nmattia/niv/issues/312 optparse-applicative = self.optparse-applicative_0_15_1_0; + aeson = self.aeson_1_5_6_0; })); + ormolu = generateOptparseApplicativeCompletion "ormolu" super.ormolu; stack =