mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
treewide: Fix output references to cups
This commit is contained in:
parent
4bd0a16148
commit
f410ec16c4
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue