From e9d641014dc0a3e66247fca56d409aaa9dba8137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 26 Mar 2012 21:01:46 +0000 Subject: [PATCH] Not everyone runs nscd. Fixing a boot problem for those who don't. svn path=/nixos/trunk/; revision=33434 --- modules/config/networking.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/config/networking.nix b/modules/config/networking.nix index 18e0b834c984..591c758b2999 100644 --- a/modules/config/networking.nix +++ b/modules/config/networking.nix @@ -64,7 +64,8 @@ in # a collision with an apparently unrelated environment # variable with the same name exported by dhcpcd. interface_order='lo lo[0-9]*' - + '' + optionalString config.services.nscd.enable + '' # Invalidate the nscd cache whenever resolv.conf is # regenerated. libc_restart='${pkgs.upstart}/sbin/start invalidate-nscd'