From 4c43afbaf6db77617c6ac69611ab0d69f35e68e4 Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Mon, 28 Sep 2009 18:22:55 +0000 Subject: [PATCH] export definitions to be used in conjunctions with extraConfigs. With such method, properties evaluated at the evaluation time are still on the values which makes this interresting to use in conjunction with extraConfigs. The extraConfigs values are merged with the other values and then the properties gets evaluated. Thus, we can keep properties like mkOverride with this method. svn path=/nixpkgs/trunk/; revision=17482 --- pkgs/lib/modules.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/lib/modules.nix b/pkgs/lib/modules.nix index 4de12e1a07c..1b278e65f3d 100644 --- a/pkgs/lib/modules.nix +++ b/pkgs/lib/modules.nix @@ -216,6 +216,7 @@ rec { definitions = map (m: { source = m.key; + value = m.config; }) (definitionsOf name); config = builtins.tryEval