diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 17:39:13 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 22:45:57 +0100 |
commit | 1e24ce2a9b8cb5976d81ba9ff83f95440703de1a (patch) | |
tree | 54339217b18d7c6761af0c5a55dfde02f1233f18 /lib/modules.nix | |
parent | e28ea1239fe9413bdb59fd323167b7440b75fc0b (diff) | |
download | nixpkgs-1e24ce2a9b8cb5976d81ba9ff83f95440703de1a.tar nixpkgs-1e24ce2a9b8cb5976d81ba9ff83f95440703de1a.tar.gz nixpkgs-1e24ce2a9b8cb5976d81ba9ff83f95440703de1a.tar.bz2 nixpkgs-1e24ce2a9b8cb5976d81ba9ff83f95440703de1a.tar.lz nixpkgs-1e24ce2a9b8cb5976d81ba9ff83f95440703de1a.tar.xz nixpkgs-1e24ce2a9b8cb5976d81ba9ff83f95440703de1a.tar.zst nixpkgs-1e24ce2a9b8cb5976d81ba9ff83f95440703de1a.zip |
Remove debug code
Diffstat (limited to 'lib/modules.nix')
-rw-r--r-- | lib/modules.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/modules.nix b/lib/modules.nix index 9733929706f..184b21de486 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; |