diff --git a/pkgs/tools/X11/xlaunch/default.nix b/pkgs/tools/X11/xlaunch/default.nix index 4f229da8abb7..8655007dca4a 100644 --- a/pkgs/tools/X11/xlaunch/default.nix +++ b/pkgs/tools/X11/xlaunch/default.nix @@ -5,7 +5,7 @@ stdenv.mkDerivation { buildCommand = " mkdir -p \$out/bin echo ' - (egrep \"^\\s+env\" /etc/event.d/xserver | sed -e s/env// ; echo X;) | bash & + (egrep \"^ +env\" /etc/event.d/xserver | sed -e s/env// ; echo X;) | bash & sleep 15; \"$@\"; ' >\$out/bin/xlaunch