From b479dac8dfe3baefe5a080a2f17b41fd1ef37025 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 28 Oct 2013 07:51:46 +0100 Subject: Inline some functions on the critical path --- lib/types.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/types.nix') diff --git a/lib/types.nix b/lib/types.nix index aa8a371d953..7cfd8e606d7 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -116,7 +116,7 @@ rec { if isList def then listToAttrs ( flip imap def (elemIdx: elem: - nameValuePair "unnamed-${toString defIdx}.${toString elemIdx}" elem)) + { name = "unnamed-${toString defIdx}.${toString elemIdx}"; value = elem; })) else def; listOnly = listOf elemType; -- cgit 1.4.1