mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
x11vnc: Properly hard-code the path to xdpyinfo
This never worked before, I don't think Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
52edd648d3
commit
faddfc97b0
|
@ -23,9 +23,7 @@ stdenv.mkDerivation rec {
|
|||
--replace '"/bin/su"' '"/var/setuid-wrappers/su"' \
|
||||
--replace '"/bin/true"' '"${coreutils}/bin/true"'
|
||||
|
||||
substituteInPlace x11vnc/ssltools.h \
|
||||
--replace /bin/su /var/setuid-wrappers/su \
|
||||
--replace xdpyinfo ${xorg.xdpyinfo}/bin/xdpyinfo
|
||||
sed -i -e '/#!\/bin\/sh/a"PATH=${xorg.xdpyinfo}\/bin:$PATH\\n"' -e 's|/bin/su|/var/setuid-wrappers/su|g' x11vnc/ssltools.h
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue