Wolfgang Walther 4423b0746c
various: replace substituteAll with replaceVars
This deals with some special cases, i.e. where "null" is used to avoid
replacing some values or where the syntax is not too easy to grep for
for automated replacement.
2024-12-01 14:56:12 +01:00

17 lines
347 B
Nix

{
mkKdeDerivation,
replaceVars,
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.
(replaceVars ./gs-paths.patch {
gs = "${ghostscript}/bin/gs";
})
];
}