From 5684506470f7fbf76c308fd58f92b9a4211aa175 Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Thu, 5 Nov 2009 15:39:39 +0000 Subject: [PATCH] * Add isDefined to each options. This will clean-up NixOS introspection. svn path=/nixpkgs/trunk/; revision=18147 --- pkgs/lib/modules.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/lib/modules.nix b/pkgs/lib/modules.nix index 1744d39d8de..9bd3b4aab8c 100644 --- a/pkgs/lib/modules.nix +++ b/pkgs/lib/modules.nix @@ -223,6 +223,7 @@ rec { value = decl // (with config; { inherit (config) isNotDefined; + isDefined = ! isNotDefined; declarations = declarationSources; definitions = definitionSources; config = strictResult;