From 0800c3a72208eaf9d2087c72746da46b69b10483 Mon Sep 17 00:00:00 2001 From: "Christoph Neidahl (OPNA2608)" Date: Wed, 17 Oct 2018 10:09:16 +0200 Subject: [PATCH] x11vnc: don't build broken Xdummy script patching the currently broken Xdummy script out of the Makefile.am, else it gets put into bin. this is not a regression of functionality, as it doesn't appear to be put into bin in the upstream version either. --- pkgs/tools/X11/x11vnc/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/X11/x11vnc/default.nix b/pkgs/tools/X11/x11vnc/default.nix index 51307f0df09..9e38a2bc888 100644 --- a/pkgs/tools/X11/x11vnc/default.nix +++ b/pkgs/tools/X11/x11vnc/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { --replace '"/bin/true"' '"${coreutils}/bin/true"' sed -i -e '/#!\/bin\/sh/a"PATH=${xorg.xdpyinfo}\/bin:${xorg.xauth}\/bin:$PATH\\n"' -e 's|/bin/su|/run/wrappers/bin/su|g' src/ssltools.h + sed -i -e '/^\tXdummy.c\ \\$/,$d' -e 's/\tx11vnc_loop\ \\/\tx11vnc_loop/' misc/Makefile.am ''; meta = with stdenv.lib; {