From 9ae41519f9959ac23a28f2623c182cfe034e1a13 Mon Sep 17 00:00:00 2001 From: Enno Richter Date: Fri, 1 Nov 2024 05:58:10 +0100 Subject: [PATCH] tesseract: ensure fixupPhase is run, e.g. ensuring library codesigning on darwin (cherry picked from commit c1a3a2f36e352e637fc193beb88d60b0e4f71802) --- pkgs/applications/graphics/tesseract/wrapper.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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