Fix collect example.
svn path=/nixpkgs/trunk/; revision=17510
This commit is contained in:
parent
176c0e32b1
commit
3872882e93
|
@ -85,7 +85,7 @@ rec {
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
collect builtins.isList { a = { b = ["b"]; }; c = [1]; }
|
collect builtins.isList { a = { b = ["b"]; }; c = [1]; }
|
||||||
=> ["b" 1]
|
=> [["b"] [1]]
|
||||||
|
|
||||||
collect (x: x ? outPath)
|
collect (x: x ? outPath)
|
||||||
{ a = { outPath = "a/"; }; b = { outPath = "b/"; }; }
|
{ a = { outPath = "a/"; }; b = { outPath = "b/"; }; }
|
||||||
|
|
Loading…
Reference in New Issue