Remove debug code

This commit is contained in:
Eelco Dolstra
2013-10-28 22:45:57 +01:00
parent e28ea1239f
commit 1e24ce2a9b
+1 -1
View File
@@ -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;