forked from mirrors/nixpkgs
ripgrep-all: use tesseract3
This commit is contained in:
parent
42ce707a1b
commit
e7761fa511
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue