3
0
Fork 0
forked from mirrors/nixpkgs

* Hard-code the path to xdpyinfo rather than expecting it to be in

$PATH.  This is necessary because x11vnc does a "su - <user>
  ... xdpyinfo" somewhere.

svn path=/nixpkgs/trunk/; revision=30387
This commit is contained in:
Eelco Dolstra 2011-11-11 03:11:09 +00:00
parent 718a4ec1c5
commit e6cbed31ee

View file

@ -22,6 +22,9 @@ stdenv.mkDerivation rec {
substituteInPlace x11vnc/unixpw.c \
--replace '"/bin/su"' '"/var/setuid-wrappers/su"' \
--replace '"/bin/true"' '"${coreutils}/bin/true"'
substituteInPlace x11vnc/ssltools.h \
--replace xdpyinfo ${xorg.xdpyinfo}/bin/xdpyinfo
'';
meta = {