NixOS:Properties: Difference between revisions
imported>Fadenb Created page with "Properties are used to scope option definitions with control flow statements which do not break (example) the highly recursive..." |
imported>Ajs124 removed in 2012 |
||
Line 3: | Line 3: | ||
* <code>mkNotdef</code>: Invalidate a definition. Any attribute which has this value is considered as not defined in the current module. | * <code>mkNotdef</code>: Invalidate a definition. Any attribute which has this value is considered as not defined in the current module. | ||
* <code>mkIf condition definitions</code>: Create a conditional statements around multiple definitions. The definitions are considered only if the condition is verified. | * <code>mkIf condition definitions</code>: Create a conditional statements around multiple definitions. The definitions are considered only if the condition is verified. | ||
* <code>mkOverrideTemplate priority template definitions</code>: Set a priority level to all definitions which are enumerated inside the template. Only definitions with the lower priority level are kept. The default priority level is 100. An empty template is considered as all definitions. | * <code>mkOverrideTemplate priority template definitions</code>: Set a priority level to all definitions which are enumerated inside the template. Only definitions with the lower priority level are kept. The default priority level is 100. An empty template is considered as all definitions. | ||
* <code>mkOverride priority template definitions</code>: Currently the same as <code>mkOverrideTemplate</code>. | * <code>mkOverride priority template definitions</code>: Currently the same as <code>mkOverrideTemplate</code>. |