blob: 3f8d92dc783ae199440490d7d75b1d9385f5a956 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
args: with args;
stdenv.mkDerivation {
name = "xlaunch";
inherit xorgserver;
buildCommand = "
mkdir -p \$out/bin
echo '
(egrep \"^ +env\" /etc/event.d/xserver | sed -e s/env/ export / ; echo X;) | bash &
sleep 15;
\"$@\";
' >\$out/bin/xlaunch
chmod a+x \$out/bin/xlaunch
";
}
|