From 5d14c28808efd2dd1ff9ced76de05547c8151368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 10 Oct 2025 14:32:26 -0700 Subject: [PATCH] haskellPackages.hledger_1_50: use hledger-lib_1_50 Otherwise the build fails with Encountered missing or private dependencies: hledger-lib >=1.50 && <1.51 --- pkgs/development/haskell-modules/configuration-common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 3bdae5481620..816222eed545 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1727,6 +1727,10 @@ with haskellLib; # https://github.com/haskell-servant/servant-ekg/issues/15 servant-ekg = doJailbreak super.servant-ekg; + hledger_1_50 = super.hledger_1_50.override { + hledger-lib = self.hledger-lib_1_50; + }; + # it wants to build a statically linked binary by default hledger-flow = overrideCabal (drv: { postPatch = (drv.postPatch or "") + ''