Remove debug code
This commit is contained in:
parent
e28ea1239f
commit
1e24ce2a9b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue