summaryrefslogtreecommitdiffstats
path: root/lib/modules.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 17:39:13 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 22:45:57 +0100
commit1e24ce2a9b8cb5976d81ba9ff83f95440703de1a (patch)
tree54339217b18d7c6761af0c5a55dfde02f1233f18 /lib/modules.nix
parente28ea1239fe9413bdb59fd323167b7440b75fc0b (diff)
Remove debug code
Diffstat (limited to 'lib/modules.nix')
-rw-r--r--lib/modules.nix2
1 files changed, 1 insertions, 1 deletions
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;