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:
parent
718a4ec1c5
commit
e6cbed31ee
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue