summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accounts/gkleen@sif/utils/pdf2pdf.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/utils/pdf2pdf.nix b/accounts/gkleen@sif/utils/pdf2pdf.nix
index aba897f0..5e9fb215 100644
--- a/accounts/gkleen@sif/utils/pdf2pdf.nix
+++ b/accounts/gkleen@sif/utils/pdf2pdf.nix
@@ -1,7 +1,7 @@
1pkgs@{ lib, resholve, zsh, ghostscript, ... }: 1pkgs@{ lib, resholve, zsh, ghostscript_headless, ... }:
2 2
3resholve.writeScriptBin "pdf2pdf" { 3resholve.writeScriptBin "pdf2pdf" {
4 inputs = with pkgs; [ghostscript]; 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 "-sOutputFile=''${2}" "''${1}"