treewide: Fix output references to cups

wip/yesman
Tuomas Tynkkynen 8 years ago
parent 4bd0a16148
commit f410ec16c4
  1. 2
      pkgs/misc/cups/drivers/samsung/default.nix
  2. 2
      pkgs/misc/cups/filters.nix

@ -31,7 +31,7 @@ in stdenv.mkDerivation rec {
my_patchelf \
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
--set-rpath ${cups}/lib:$(cat $NIX_CC/nix-support/orig-cc)/lib:${stdenv.glibc}/lib \
--set-rpath ${cups.out}/lib:$(cat $NIX_CC/nix-support/orig-cc)/lib:${stdenv.glibc}/lib \
- ${arch}/{pstosecps,rastertospl,smfpnetdiscovery}
mkdir -p $out/etc/sane.d/dll.d/

@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
# Ensure that bannertopdf can find the PDF templates in
# $out. (By default, it assumes that cups and cups-filters are
# installed in the same prefix.)
substituteInPlace config.h --replace ${cups}/share/cups/data $out/share/cups/data
substituteInPlace config.h --replace ${cups.out}/share/cups/data $out/share/cups/data
# Ensure that gstoraster can find gs in $PATH.
substituteInPlace filter/gstoraster.c --replace execve execvpe

Loading…
Cancel
Save