xfce4-session: Don't set $PATH in xflock4 script

This makes Xfce4's "Lock Screen" action button actually work when xscreensaver
is installed and the daemon is running.
This commit is contained in:
Ricardo M. Correia 2013-11-12 04:06:42 +01:00
parent bc05abe5c3
commit fa52e46203

View File

@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
polkit
];
preBuild = ''
sed '/^PATH=/d' -i scripts/xflock4
sed '/^export PATH$/d' -i scripts/xflock4
'';
configureFlags = [ "--with-xsession-prefix=$(out)" ];
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";