pkgs/top-level: add a type for warnUndeclaredOptions

Fixes https://hydra.nixos.org/build/190091926/nixlog/1
This commit is contained in:
K900 2022-09-11 10:34:37 +03:00 committed by Alyssa Ross
parent 0fcee2222d
commit ecb8cf9f68

View file

@ -35,6 +35,7 @@ let
warnUndeclaredOptions = mkOption {
description = "Whether to warn when <literal>config</literal> contains an unrecognized attribute.";
type = types.bool;
default = false;
};