diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-12-16 16:41:35 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-12-16 18:23:40 +0100 |
commit | 6c00d9f7e47980ae78c113ddabe10bce040dd87e (patch) | |
tree | 4211e4117afc0e602a4a61ef05c9c33f1e7513b5 /pkgs/misc | |
parent | 0aa452e1797c811adb3038f086908c7c03079a0b (diff) | |
download | nixlib-6c00d9f7e47980ae78c113ddabe10bce040dd87e.tar nixlib-6c00d9f7e47980ae78c113ddabe10bce040dd87e.tar.gz nixlib-6c00d9f7e47980ae78c113ddabe10bce040dd87e.tar.bz2 nixlib-6c00d9f7e47980ae78c113ddabe10bce040dd87e.tar.lz nixlib-6c00d9f7e47980ae78c113ddabe10bce040dd87e.tar.xz nixlib-6c00d9f7e47980ae78c113ddabe10bce040dd87e.tar.zst nixlib-6c00d9f7e47980ae78c113ddabe10bce040dd87e.zip |
cups-filters: Fix finding GS in several filters
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/cups/filters.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix index 6ec1840fb6c6..a6638a780e72 100644 --- a/pkgs/misc/cups/filters.nix +++ b/pkgs/misc/cups/filters.nix @@ -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"; |