3
0
Fork 0
forked from mirrors/nixpkgs

Remove debug code

This commit is contained in:
Eelco Dolstra 2013-10-28 17:39:13 +01:00
parent e28ea1239f
commit 1e24ce2a9b

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;