3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #273868 from jbedo/tesseract

rPackages.tesseract: fix build
This commit is contained in:
Justin Bedő 2023-12-20 10:05:32 +11:00 committed by GitHub
commit a214e66556
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1387,6 +1387,13 @@ let
'';
});
tesseract = old.tesseract.overrideAttrs (_: {
preConfigure = ''
substituteInPlace configure \
--replace 'PKG_CONFIG_NAME="tesseract"' 'PKG_CONFIG_NAME="tesseract lept"'
'';
});
ijtiff = old.ijtiff.overrideAttrs (_: {
preConfigure = ''
patchShebangs configure