* Add isDefined to each options. This will clean-up NixOS introspection.

svn path=/nixpkgs/trunk/; revision=18147
This commit is contained in:
Nicolas Pierron 2009-11-05 15:39:39 +00:00
parent c713b0ed67
commit 5684506470

View file

@ -223,6 +223,7 @@ rec {
value = decl // (with config; {
inherit (config) isNotDefined;
isDefined = ! isNotDefined;
declarations = declarationSources;
definitions = definitionSources;
config = strictResult;