From f6703cdddc551769a1b8c41e8a300400facdb3a2 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 30 Sep 2021 12:03:08 +0200 Subject: [PATCH] haskellPackages.hledger-lib_1_23: build with doctest 0.18.1 Test suite has a lower bound on doctest >= 0.18. --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1d6850ee1d54..f79d32d929c3 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -856,6 +856,11 @@ self: super: { stripLen = 1; }); + # hledger-lib 1.23 depends on doctest >= 0.18 + hledger-lib_1_23 = super.hledger-lib_1_23.override { + doctest = self.doctest_0_18_1; + }; + # Copy hledger man pages from data directory into the proper place. This code # should be moved into the cabal2nix generator. hledger = overrideCabal super.hledger (drv: {