From 44cc09c2b492585986eaba093f4ac9b450a5c111 Mon Sep 17 00:00:00 2001 From: Daniel Albert Date: Sat, 20 Aug 2022 21:40:42 +0200 Subject: [PATCH] utsushi: Fix scanning This commit fixes the problem reported in issue #177572. Turns out that re-adding this line, which was removed in commit 526238b288baafd99bb4fb6a69ead3f9db0c7f0a, fixes the problem. --- pkgs/misc/drivers/utsushi/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/misc/drivers/utsushi/default.nix b/pkgs/misc/drivers/utsushi/default.nix index b802431d4e0e..464bc12f491a 100644 --- a/pkgs/misc/drivers/utsushi/default.nix +++ b/pkgs/misc/drivers/utsushi/default.nix @@ -69,6 +69,7 @@ in stdenv.mkDerivation rec { touch $out/etc/sane.d/dll.conf # absolute paths to convert & tesseract + sed -i '/\[AC_DEFINE(\[HAVE_IMAGE_MAGICK\], \[1\])/a \ MAGICK_CONVERT="${imagemagick}/bin/convert"' configure.ac substituteInPlace filters/magick.cpp \ --replace 'convert ' '${imagemagick}/bin/convert ' substituteInPlace filters/reorient.cpp \