From 1e24ce2a9b8cb5976d81ba9ff83f95440703de1a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 28 Oct 2013 17:39:13 +0100 Subject: Remove debug code --- lib/modules.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/modules.nix') diff --git a/lib/modules.nix b/lib/modules.nix index 9733929706f1..184b21de4865 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -39,7 +39,7 @@ rec { if m ? config || m ? options || m ? imports then let badAttrs = removeAttrs m ["imports" "options" "config" "key"]; in if badAttrs != {} then - throw "Module `${key}' has an unsupported attribute `${head (attrNames badAttrs)}'. ${builtins.toXML m} " + throw "Module `${key}' has an unsupported attribute `${head (attrNames badAttrs)}'." else { inherit file; key = m.key or key; -- cgit v1.2.3