From 3872882e93ed30267f43e4725aa3be48025468fe Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Tue, 29 Sep 2009 15:34:19 +0000 Subject: [PATCH] Fix collect example. svn path=/nixpkgs/trunk/; revision=17510 --- pkgs/lib/attrsets.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/lib/attrsets.nix b/pkgs/lib/attrsets.nix index ec2322c12f2..63abf789944 100644 --- a/pkgs/lib/attrsets.nix +++ b/pkgs/lib/attrsets.nix @@ -85,7 +85,7 @@ rec { Example: collect builtins.isList { a = { b = ["b"]; }; c = [1]; } - => ["b" 1] + => [["b"] [1]] collect (x: x ? outPath) { a = { outPath = "a/"; }; b = { outPath = "b/"; }; }