From b1b17da07c5dad22e2fe99a1337b1ea04d070a6e Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 17 Dec 2010 10:59:09 +0000 Subject: [PATCH] Alleviate race condition: give Xvfb 10 seconds to start up. I hate the fact that EQL build even needs it, but it does run a Qt application to generate some file svn path=/nixpkgs/trunk/; revision=25168 --- pkgs/development/compilers/eql/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/eql/default.nix b/pkgs/development/compilers/eql/default.nix index c4ed06a00eaf..70d309472243 100644 --- a/pkgs/development/compilers/eql/default.nix +++ b/pkgs/development/compilers/eql/default.nix @@ -47,6 +47,7 @@ rec { TMP=. TMPDIR=. XKB_BINDIR="${xkbcomp}/bin" Xvfb -once -reset -terminate :2 -xkbdir ${xkeyboard_config}/etc/X11/xkb & + sleep 10; DISPLAY=:2 ./first_metatype_id '') ["doUnpack" "addInputs"];