haskellPackages.pdftotext: use existing poppler-cpp input

This is correctly added to libraryPkgconfigDepends where it needs to go.
We could drop this in the future if we add a corresponding mapping to
cabal2nix.
This commit is contained in:
sternenseemann
2025-11-07 13:53:56 +01:00
parent 18e4ed7383
commit 2f1f72d5a2

View File

@@ -2944,7 +2944,7 @@ with haskellLib;
substituteInPlace pdftotext.cabal --replace-quiet BSD3 BSD-3-Clause
''
+ (drv.postPatch or "");
}) (addExtraLibrary pkgs.pkg-config (addExtraLibrary pkgs.poppler super.pdftotext));
}) (super.pdftotext.override { poppler-cpp = pkgs.poppler; });
# QuickCheck <2.15
# https://github.com/google/proto-lens/issues/403