diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2026-02-03 09:04:12 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2026-02-03 09:04:12 +0100 |
| commit | 493a0aa7fe977cfad22b872b95cc90e7d0d96550 (patch) | |
| tree | 6586bf34f9238d4403fd1792584e12888bf28486 /accounts | |
| parent | ac37501dbd6e816d727028464901a2f72677cb8a (diff) | |
| download | nixos-493a0aa7fe977cfad22b872b95cc90e7d0d96550.tar nixos-493a0aa7fe977cfad22b872b95cc90e7d0d96550.tar.gz nixos-493a0aa7fe977cfad22b872b95cc90e7d0d96550.tar.bz2 nixos-493a0aa7fe977cfad22b872b95cc90e7d0d96550.tar.xz nixos-493a0aa7fe977cfad22b872b95cc90e7d0d96550.zip | |
...flakes
Diffstat (limited to 'accounts')
| -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 9f4cbc3e..7305a201 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 -dPreserveAnnots=false "-sOutputFile=''${2}" "''${1}" | 7 | exec gs -dPDFSETTINGS=/prepress -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dSAFER -dPreserveAnnots=false "-sOutputFile=''${2:-''${1:r}_pdf2pdf.pdf}" "''${1}" |
| 8 | '' | 8 | '' |
