From 6b3818b9c07e15ca022533e6d11701fdfcdacf68 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Mon, 21 Mar 2022 23:16:27 +0100 Subject: [PATCH] haskellPackages.niv: pin aeson < 2.0 --- pkgs/development/haskell-modules/configuration-common.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 =