mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 21:57:52 +03:00
cups-filters: Fix finding GS in several filters
This commit is contained in:
parent
0aa452e179
commit
6c00d9f7e4
@ -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 New Issue
Block a user