From 3f79e158ba5d65a68bc3be964ae91e76f7b07d9e Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Fri, 15 May 2009 07:39:36 +0000 Subject: [PATCH] add missing assertion catching enabled xserver but disabled hal service svn path=/nixos/trunk/; revision=15609 --- upstart-jobs/xserver.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upstart-jobs/xserver.nix b/upstart-jobs/xserver.nix index 504a06b8650..775b7524743 100644 --- a/upstart-jobs/xserver.nix +++ b/upstart-jobs/xserver.nix @@ -415,7 +415,8 @@ rec { }; - job = '' + # The X server needs HAL running + job = assert config.services.hal.enable; '' start on ${if cfg.autorun then "hal" else "never"} start script