mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
python310Packages.ocrmypdf: use lib.getExe
This commit is contained in:
parent
b36ee8cb9c
commit
b8e6b4a2e7
@ -55,11 +55,11 @@ buildPythonPackage rec {
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./paths.patch;
|
||||
gs = "${lib.getBin ghostscript}/bin/gs";
|
||||
jbig2 = "${lib.getBin jbig2enc}/bin/jbig2";
|
||||
pngquant = "${lib.getBin pngquant}/bin/pngquant";
|
||||
tesseract = "${lib.getBin tesseract}/bin/tesseract";
|
||||
unpaper = "${lib.getBin unpaper}/bin/unpaper";
|
||||
gs = lib.getExe ghostscript;
|
||||
jbig2 = lib.getExe jbig2enc;
|
||||
pngquant = lib.getExe pngquant;
|
||||
tesseract = lib.getExe tesseract;
|
||||
unpaper = lib.getExe unpaper;
|
||||
})
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user