diff options
author | Robert Schütz <nix@dotlambda.de> | 2023-09-28 09:45:01 -0700 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2023-09-28 09:46:16 -0700 |
commit | b8e6b4a2e745906389dffaa27af021551fda572f (patch) | |
tree | edcf325a38439c2136101805aac35ea53d6e2d04 /pkgs/development/python-modules/ocrmypdf | |
parent | b36ee8cb9c087ea58460dfd53e86018be45004ee (diff) |
python310Packages.ocrmypdf: use lib.getExe
Diffstat (limited to 'pkgs/development/python-modules/ocrmypdf')
-rw-r--r-- | pkgs/development/python-modules/ocrmypdf/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/ocrmypdf/default.nix b/pkgs/development/python-modules/ocrmypdf/default.nix index deb1615bd448a..df6003464c4dc 100644 --- a/pkgs/development/python-modules/ocrmypdf/default.nix +++ b/pkgs/development/python-modules/ocrmypdf/default.nix @@ -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; }) ]; |