Template:Evaluate: Difference between revisions

From NixOS Wiki
imported>Fadenb
m Syntaxhighlight
imported>Samueldr
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>{{Template}}{{DISPLAYTITLE:Template:evaluate}}
This template is used to remind end-users that they need to rebuild for the changes to take effect.
 
== Usage ==
== Usage ==
Evaluate box:
Evaluate box:
<pre>
<pre>
<nowiki>{{Evaluate}}</nowiki>
<nowiki>{{Evaluate}}</nowiki>
</pre>
</pre>
</noinclude>
 
<table cellspacing="0" cellpadding="0" border="0" style="background: transparent; margin-top:0.5em;border:1px #b32424 solid;padding:0.5em;background-color: #ADD8E6"><tr><td nowrap="nowrap" valign="top">'''Note:''' In order to '''affect''' your system by your nix-language-specific changes you have to '''evaluate''' it, run (as root):</tr><tr><td><syntaxhighlight lang="console">$ nixos-rebuild switch</syntaxhighlight></td></tr></table>
{{Evaluate}}
 
</noinclude><includeonly>{{Tip
|1=In order to '''affect''' your system by your nix-language-specific changes you have to '''evaluate''' it, run (as root):{{Commands|$ nixos-rebuild switch}}}}</includeonly>

Revision as of 00:59, 6 September 2017

This page is a template. It should be used as part of other articles. For more information, see Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to discuss this template in the talk page.

If you wanted to create a new page instead, use the search box to search for the title of the new page you want to create and follow the link Create the page "XYZ" on this wiki! in the results page. An alternative is to create a dangling link to the new page from an existing page. A final option is to directly visit the expected URL of the page.

This template is used to remind end-users that they need to rebuild for the changes to take effect.

Usage

Evaluate box:

{{Evaluate}}