1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/pytesseract/tesseract-binary.patch

14 lines
336 B
Diff

diff --git a/src/pytesseract.py b/src/pytesseract.py
index 132f59b..f161e5c 100755
--- a/src/pytesseract.py
+++ b/src/pytesseract.py
@@ -23,7 +23,7 @@ except ImportError:
import Image
-tesseract_cmd = 'tesseract'
+tesseract_cmd = '@drv@/bin/tesseract'
numpy_installed = find_loader('numpy') is not None
if numpy_installed: