From 01004362f2d63210ddc6e51e779491e98b85685c Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 24 Jan 2008 21:35:24 +0000 Subject: [PATCH] Now xfs job fails without enableFontDir. svn path=/nixos/trunk/; revision=10279 --- upstart-jobs/xfs.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/upstart-jobs/xfs.nix b/upstart-jobs/xfs.nix index bab02a411fc..b887e3fc334 100644 --- a/upstart-jobs/xfs.nix +++ b/upstart-jobs/xfs.nix @@ -1,6 +1,7 @@ { pkgs, config }: +if ! config.fonts.enableFontDir then abort "Please enable fontDir (fonts.enableFontDir) to use xfs." else let configFile = ./xfs.conf; startingDependency = if config.services.gw6c.enable && config.services.gw6c.autorun then "gw6c" else "network-interfaces";