Nixpkgs/Manuals: Difference between revisions
Isabelroses (talk | contribs) update link to nix-darwin manual |
Phanirithvij (talk | contribs) m minor formatting change, use latest url which redirects for nix manual |
||
| Line 11: | Line 11: | ||
https://nix.dev/manual/nix/stable | https://nix.dev/manual/nix/stable | ||
https://nix.dev/manual/nix/ | https://nix.dev/manual/nix/latest | ||
=== Nixpkgs === | === Nixpkgs === | ||
| Line 76: | Line 76: | ||
checkout the specific revision (branch or commit) | checkout the specific revision (branch or commit) | ||
<syntaxhighlight lang="bash">git checkout nixos-24.05 | <syntaxhighlight lang="bash"> | ||
nix build .#nixpkgs-manual --print-out-paths --no-link</syntaxhighlight> | git checkout nixos-24.05 | ||
nix build .#nixpkgs-manual --print-out-paths --no-link | |||
</syntaxhighlight> | |||
=== nix manual === | === nix manual === | ||
| Line 83: | Line 85: | ||
{{Warning|Building the nix manual requires building nix, for master branch it will build from source and it will take quite a while.}} | {{Warning|Building the nix manual requires building nix, for master branch it will build from source and it will take quite a while.}} | ||
<syntaxhighlight lang="bash"># before nix version 2.25.0 | <syntaxhighlight lang="bash"> | ||
# before nix version 2.25.0 | |||
nix build github:nixos/nix/2.24.11#nix^doc --print-out-paths --no-link | nix build github:nixos/nix/2.24.11#nix^doc --print-out-paths --no-link | ||
| Line 93: | Line 96: | ||
# for other system | # for other system | ||
nix build github:nixos/nix/2.25.0#packages.aarch64-darwin.nix-manual --print-out-paths --no-link</syntaxhighlight> | nix build github:nixos/nix/2.25.0#packages.aarch64-darwin.nix-manual --print-out-paths --no-link | ||
</syntaxhighlight> | |||
=== home-manager manual === | === home-manager manual === | ||