Cards are now required to decorate pre blocks
This commit is contained in:
@@ -6,21 +6,24 @@
|
||||
href="http://nixos.org/">Nix package manager</a>. If you have Nix
|
||||
installed, you can subscribe to this channel by once executing</p>
|
||||
|
||||
<pre>
|
||||
$ nix-channel --add [% curUri +%]
|
||||
$ nix-channel --update</pre>
|
||||
<div class="card bg-light"><div class="card-body"><pre>
|
||||
<span class="shell-prompt">$ </span>nix-channel --add [% curUri +%]
|
||||
<span class="shell-prompt">$ </span>nix-channel --update
|
||||
</pre></div></div>
|
||||
|
||||
<p>You can then query and install packages in the normal way, e.g.,</p>
|
||||
|
||||
<pre>
|
||||
$ nix-env -qa '*'
|
||||
$ nix-env -i foo</pre>
|
||||
<div class="card bg-light"><div class="card-body"><pre>
|
||||
<span class="shell-prompt">$ </span>nix-env -qa '*'
|
||||
<span class="shell-prompt">$ </span>nix-env -i foo
|
||||
</pre></pre></div>
|
||||
|
||||
<p>You can update to the latest versions of the packages in this channel by executing</p>
|
||||
|
||||
<pre>
|
||||
$ nix-channel --update
|
||||
$ nix-env -u '*'</pre>
|
||||
<div class="card bg-light"><div class="card-body"><pre>
|
||||
<span class="shell-prompt">$ </span>nix-channel --update
|
||||
<span class="shell-prompt">$ </span>nix-env -u '*'
|
||||
</pre></div></div>
|
||||
|
||||
[% IF genericChannel %]
|
||||
|
||||
|
Reference in New Issue
Block a user