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:
parent
bc05abe5c3
commit
fa52e46203
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user