mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
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
|
if m ? config || m ? options || m ? imports then
|
||||||
let badAttrs = removeAttrs m ["imports" "options" "config" "key"]; in
|
let badAttrs = removeAttrs m ["imports" "options" "config" "key"]; in
|
||||||
if badAttrs != {} then
|
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
|
else
|
||||||
{ inherit file;
|
{ inherit file;
|
||||||
key = m.key or key;
|
key = m.key or key;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue