mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
* Add isDefined to each options. This will clean-up NixOS introspection.
svn path=/nixpkgs/trunk/; revision=18147
This commit is contained in:
parent
c713b0ed67
commit
5684506470
@ -223,6 +223,7 @@ rec {
|
|||||||
|
|
||||||
value = decl // (with config; {
|
value = decl // (with config; {
|
||||||
inherit (config) isNotDefined;
|
inherit (config) isNotDefined;
|
||||||
|
isDefined = ! isNotDefined;
|
||||||
declarations = declarationSources;
|
declarations = declarationSources;
|
||||||
definitions = definitionSources;
|
definitions = definitionSources;
|
||||||
config = strictResult;
|
config = strictResult;
|
||||||
|
Loading…
Reference in New Issue
Block a user