From e6cbed31eef6c59610eb0b4b0d4cdee2ed35f97e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 11 Nov 2011 03:11:09 +0000 Subject: [PATCH] * Hard-code the path to xdpyinfo rather than expecting it to be in $PATH. This is necessary because x11vnc does a "su - ... xdpyinfo" somewhere. svn path=/nixpkgs/trunk/; revision=30387 --- pkgs/tools/X11/x11vnc/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/X11/x11vnc/default.nix b/pkgs/tools/X11/x11vnc/default.nix index 909c12e9f60..71c7046b0b7 100644 --- a/pkgs/tools/X11/x11vnc/default.nix +++ b/pkgs/tools/X11/x11vnc/default.nix @@ -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 = {