3
0
Fork 0
forked from mirrors/nixpkgs

ripgrep-all: use tesseract3

This commit is contained in:
Robert Schütz 2023-03-02 21:07:59 -08:00
parent 42ce707a1b
commit e7761fa511

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, makeWrapper, ffmpeg
, pandoc, poppler_utils, ripgrep, Security, imagemagick, tesseract
, pandoc, poppler_utils, ripgrep, Security, imagemagick, tesseract3
}:
rustPlatform.buildRustPackage rec {
@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
wrapProgram $out/bin/rga \
--prefix PATH ":" "${lib.makeBinPath [ ffmpeg pandoc poppler_utils ripgrep imagemagick tesseract ]}"
--prefix PATH ":" "${lib.makeBinPath [ ffmpeg pandoc poppler_utils ripgrep imagemagick tesseract3 ]}"
'';
# Use upstream's example data to run a couple of queries to ensure the dependencies