Commit e7761fa5 authored by Robert Schütz's avatar Robert Schütz
Browse files

ripgrep-all: use tesseract3

parent 42ce707a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ 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