forked from mirrors/nixpkgs
cups-filters: Fix finding GS in several filters
(cherry picked from commit 6c00d9f7e4
)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
c981a89bce
commit
2928e8d8f2
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue