diff options
author | Shea Levy <shea@shealevy.com> | 2013-05-01 20:49:56 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2013-05-01 20:49:56 -0400 |
commit | faddfc97b0d859cbb03320283b3fb8e0b106f772 (patch) | |
tree | 78a8c1493198b7623073d31cf5ca6791b1778594 /pkgs/tools/X11 | |
parent | 52edd648d36e355b7d3d85e04eb2859935f06c77 (diff) |
x11vnc: Properly hard-code the path to xdpyinfo
This never worked before, I don't think Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r-- | pkgs/tools/X11/x11vnc/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/tools/X11/x11vnc/default.nix b/pkgs/tools/X11/x11vnc/default.nix index 4c7e899714874..23b0aaa55e8eb 100644 --- a/pkgs/tools/X11/x11vnc/default.nix +++ b/pkgs/tools/X11/x11vnc/default.nix @@ -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 = { |