Flakes: Difference between revisions
imported>Das-g m fix markup (MediaWiki syntax is needed here instead of Markdown) |
imported>Das-g actually describe what attribute "description" is |
||
Line 91: | Line 91: | ||
It has 3 top-level attributes: | It has 3 top-level attributes: | ||
* <code>description</code> | * <code>description</code> is a string describing the flake. | ||
* <code>inputs</code> is an attribute set of all the dependencies of the flake. The schema is described below. | * <code>inputs</code> is an attribute set of all the dependencies of the flake. The schema is described below. | ||
* <code>outputs</code> is a function of one argument that takes an attribute set of all the realized inputs, and outputs another attribute set which schema is described below. | * <code>outputs</code> is a function of one argument that takes an attribute set of all the realized inputs, and outputs another attribute set which schema is described below. |