From 800da9b609ddaf3c00f34fe9560978414584f137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 7 Feb 2025 18:54:10 +0100 Subject: [PATCH] python313Packages.ocrmypdf: use headless ghostscript --- pkgs/development/python-modules/ocrmypdf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ocrmypdf/default.nix b/pkgs/development/python-modules/ocrmypdf/default.nix index 168ba67ad703..5d75f8a829fc 100644 --- a/pkgs/development/python-modules/ocrmypdf/default.nix +++ b/pkgs/development/python-modules/ocrmypdf/default.nix @@ -3,7 +3,7 @@ buildPythonPackage, deprecation, fetchFromGitHub, - ghostscript, + ghostscript_headless, hatch-vcs, hatchling, hypothesis, @@ -52,7 +52,7 @@ buildPythonPackage rec { ./use-pillow-heif.patch (substituteAll { src = ./paths.patch; - gs = lib.getExe ghostscript; + gs = lib.getExe ghostscript_headless; jbig2 = lib.getExe jbig2enc; pngquant = lib.getExe pngquant; tesseract = lib.getExe tesseract;