nixpkgs/pkgs/kde/gear/kdegraphics-thumbnailers/default.nix
K900 ce77225e21 pkgs/kde: init at 6.0.0 / 24.02.0, the Nix bits
This is the thing you want to look at.
2024-02-28 18:49:23 +03:00

18 lines
364 B
Nix

{
mkKdeDerivation,
substituteAll,
ghostscript,
}:
mkKdeDerivation {
pname = "kdegraphics-thumbnailers";
patches = [
# Hardcode patches to Ghostscript so PDF thumbnails work OOTB.
# Intentionally not doing the same for dvips because TeX is big.
(substituteAll {
gs = "${ghostscript}/bin/gs";
src = ./gs-paths.patch;
})
];
}