mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
treewide: Fix output references to cups
This commit is contained in:
parent
4bd0a16148
commit
f410ec16c4
@ -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 New Issue
Block a user