diff --git a/pkgs/misc/cups/pdf-filter.nix b/pkgs/misc/cups/pdf-filter.nix index 50f117a65341..d3a20b9c025f 100644 --- a/pkgs/misc/cups/pdf-filter.nix +++ b/pkgs/misc/cups/pdf-filter.nix @@ -23,8 +23,9 @@ stdenv.mkDerivation { ''; installPhase = '' - mkdir -pv $out/lib/cups/filter + mkdir -pv $out/lib/cups/filter $out/share/cups/mime cp -v pdftops $out/lib/cups/filter + echo >$out/share/cups/mime/pdftops.convs 'application/pdf application/vnd.cups-postscript 66 pdftops' '';