diff --git a/pkgs/applications/graphics/inkscape/fix-ps2pdf-path.patch b/pkgs/applications/graphics/inkscape/fix-ps2pdf-path.patch
index 9cd8e4b34cb59..0a28533591e1e 100644
--- a/pkgs/applications/graphics/inkscape/fix-ps2pdf-path.patch
+++ b/pkgs/applications/graphics/inkscape/fix-ps2pdf-path.patch
@@ -6,7 +6,7 @@ diff -Naur inkscape-1.2.2_2022-12-01_b0a8486541.orig/share/extensions/eps_input.
org.inkscape.input.eps
org.inkscape.input.pdf
- ps2pdf
-+ @ghostscript@/bin/ps2pdf
++ @ghostscript@/bin/ps2pdf
true
@@ -18,7 +18,7 @@ diff -Naur inkscape-1.2.2_2022-12-01_b0a8486541.orig/share/extensions/ps_input.i
org.inkscape.input.postscript_input
org.inkscape.input.pdf
- ps2pdf
-+ @ghostscript@/bin/ps2pdf
++ @ghostscript@/bin/ps2pdf