diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-08-25 14:19:52 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-08-25 14:19:52 +0200 |
commit | 218ac55d86ee49d151c0ba2dfbca6da104c66703 (patch) | |
tree | 1b6546436f71b23c04d4930e46836c9614452abf /accounts/gkleen@sif/utils/pdf2pdf.nix | |
parent | 13000ec4703d1dd49fd12f8c2cb427130e4899b7 (diff) | |
download | nixos-218ac55d86ee49d151c0ba2dfbca6da104c66703.tar nixos-218ac55d86ee49d151c0ba2dfbca6da104c66703.tar.gz nixos-218ac55d86ee49d151c0ba2dfbca6da104c66703.tar.bz2 nixos-218ac55d86ee49d151c0ba2dfbca6da104c66703.tar.xz nixos-218ac55d86ee49d151c0ba2dfbca6da104c66703.zip |
...flakes
Diffstat (limited to 'accounts/gkleen@sif/utils/pdf2pdf.nix')
-rw-r--r-- | accounts/gkleen@sif/utils/pdf2pdf.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/utils/pdf2pdf.nix b/accounts/gkleen@sif/utils/pdf2pdf.nix index 5e9fb215..9f4cbc3e 100644 --- a/accounts/gkleen@sif/utils/pdf2pdf.nix +++ b/accounts/gkleen@sif/utils/pdf2pdf.nix | |||
@@ -4,5 +4,5 @@ resholve.writeScriptBin "pdf2pdf" { | |||
4 | inputs = with pkgs; [ghostscript_headless]; | 4 | inputs = with pkgs; [ghostscript_headless]; |
5 | interpreter = lib.getExe zsh; | 5 | interpreter = lib.getExe zsh; |
6 | } '' | 6 | } '' |
7 | exec gs -dPDFSETTINGS=/prepress -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dSAFER "-sOutputFile=''${2}" "''${1}" | 7 | exec gs -dPDFSETTINGS=/prepress -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dSAFER -dPreserveAnnots=false "-sOutputFile=''${2}" "''${1}" |
8 | '' | 8 | '' |