Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/src/pikepdf/_methods.py b/src/pikepdf/_methods.py 2index 62939b47..d4807ef2 100644 3--- a/src/pikepdf/_methods.py 4+++ b/src/pikepdf/_methods.py 5@@ -69,7 +69,7 @@ def _single_page_pdf(page: Page) -> bytes: 6 7 def _run_mudraw(in_path: Path, out_pattern: Path) -> Path: 8 run( 9- ['mutool', 'draw', '-o', str(out_pattern), str(in_path)], 10+ ['@mutool@', 'draw', '-o', str(out_pattern), str(in_path)], 11 check=True, 12 ) 13 out_path = out_pattern.with_name(out_pattern.name.format(1)) # Replace %d with 1 14diff --git a/src/pikepdf/jbig2.py b/src/pikepdf/jbig2.py 15index aff8c657..5bcf1b4f 100644 16--- a/src/pikepdf/jbig2.py 17+++ b/src/pikepdf/jbig2.py 18@@ -72,7 +72,7 @@ class JBIG2Decoder(JBIG2DecoderInterface): 19 output_path = Path(tmpdir) / "outfile" 20 21 args = [ 22- "jbig2dec", 23+ "@jbig2dec@", 24 "--embedded", 25 "--format", 26 "png", 27@@ -101,7 +101,7 @@ class JBIG2Decoder(JBIG2DecoderInterface): 28 def _version(self) -> Version | None: 29 try: 30 proc = self._run( 31- ['jbig2dec', '--version'], 32+ ['@jbig2dec@', '--version'], 33 stdout=PIPE, 34 check=True, 35 encoding='ascii',