Ubuntu vs. NixOS: Difference between revisions
Remove duplicate header
(fix links) |
(Remove duplicate header) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<!-- TODO''': Provide well-commented sample configuration.nix and ~/.nixpkgs/config.nix files with examples of common tasks. --> | |||
<div class="table-responsive"> | <div class="table-responsive"> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 162: | Line 160: | ||
|Install a particular version of a package | |Install a particular version of a package | ||
|<syntaxhighlight lang="console">$ apt-get install package=version</syntaxhighlight> | |<syntaxhighlight lang="console">$ apt-get install package=version</syntaxhighlight> | ||
|Although Nix on its own doesn't understand the concept of package versioning, you can install and play with older (or newer!) software via | |Although Nix on its own doesn't understand the concept of package versioning, you can install and play with older (or newer!) software via [[FAQ/Pinning Nixpkgs]] with https://lazamar.co.uk/nix-versions. | ||