cups-filters: Fix finding GS in several filters

This commit is contained in:
Eelco Dolstra 2014-12-16 16:41:35 +01:00
parent 0aa452e179
commit 6c00d9f7e4

View file

@ -31,6 +31,13 @@ stdenv.mkDerivation rec {
substituteInPlace config.h --replace ${cups}/share/cups/data $out/share/cups/data
'';
postInstall =
''
for i in $out/lib/cups/filter/{pstopdf,texttops,imagetops}; do
substituteInPlace $i --replace 'which ' 'type -p '
done
'';
meta = {
homepage = http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters;
description = "Backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc";