From c1a3a2f36e352e637fc193beb88d60b0e4f71802 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 --- 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 59686e3251f2..47398b88c80a 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