Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 35 lines
at litex
123456789101112131415161718192021222324252627282930313233343536diff --git a/src/pikepdf/_methods.py b/src/pikepdf/_methods.pyindex 2a170c6..5ee3ba1 100644--- a/src/pikepdf/_methods.py+++ b/src/pikepdf/_methods.py@@ -80,7 +80,7 @@ def _mudraw(buffer, fmt) -> bytes: tmp_in.flush() proc = run(- ['mudraw', '-F', fmt, '-o', '-', tmp_in.name],+ ['@mudraw@', '-F', fmt, '-o', '-', tmp_in.name], capture_output=True, check=True, )diff --git a/src/pikepdf/jbig2.py b/src/pikepdf/jbig2.pyindex 28c596b..aff3565 100644--- a/src/pikepdf/jbig2.py+++ b/src/pikepdf/jbig2.py@@ -28,7 +28,7 @@ def _extract_jbig2_bytes(jbig2: bytes, jbig2_globals: bytes) -> bytes: output_path = Path(tmpdir) / "outfile"
args = [- "jbig2dec",+ "@jbig2dec@", "--embedded", "--format", "png",@@ -88,7 +88,7 @@ class JBIG2Decoder(JBIG2DecoderInterface): def _version(self) -> Version: try: proc = run(- ['jbig2dec', '--version'], stdout=PIPE, check=True, encoding='ascii'+ ['@jbig2dec@', '--version'], stdout=PIPE, check=True, encoding='ascii' ) except (CalledProcessError, FileNotFoundError) as e: raise DependencyError("jbig2dec - not installed or not found") from e