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;