diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 07:51:46 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 22:45:55 +0100 |
commit | b479dac8dfe3baefe5a080a2f17b41fd1ef37025 (patch) | |
tree | c5620c1a1f0a3321a42919b02e0281348a9ea497 /lib/types.nix | |
parent | 97696712600302690f55c0efe8d20ef101077749 (diff) | |
download | nixpkgs-b479dac8dfe3baefe5a080a2f17b41fd1ef37025.tar nixpkgs-b479dac8dfe3baefe5a080a2f17b41fd1ef37025.tar.gz nixpkgs-b479dac8dfe3baefe5a080a2f17b41fd1ef37025.tar.bz2 nixpkgs-b479dac8dfe3baefe5a080a2f17b41fd1ef37025.tar.lz nixpkgs-b479dac8dfe3baefe5a080a2f17b41fd1ef37025.tar.xz nixpkgs-b479dac8dfe3baefe5a080a2f17b41fd1ef37025.tar.zst nixpkgs-b479dac8dfe3baefe5a080a2f17b41fd1ef37025.zip |
Inline some functions on the critical path
Diffstat (limited to 'lib/types.nix')
-rw-r--r-- | lib/types.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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; |