diff --git a/pkgs/applications/graphics/tesseract/wrapper.nix b/pkgs/applications/graphics/tesseract/wrapper.nix index 59686e3251f26..47398b88c80a2 100644 --- a/pkgs/applications/graphics/tesseract/wrapper.nix +++ b/pkgs/applications/graphics/tesseract/wrapper.nix @@ -18,7 +18,9 @@ let nativeBuildInputs = [ makeWrapper ]; - buildCommand = '' + phases = [ "buildPhase" "fixupPhase" ]; + + buildPhase = '' makeWrapper {$tesseractBase,$out}/bin/tesseract --set-default TESSDATA_PREFIX $out/share/tessdata # Recursively link include, share