Nixpkgs/Manuals: Difference between revisions

m fix
m minor formatting change, use latest url which redirects for nix manual
 
(7 intermediate revisions by 3 users not shown)
Line 6: Line 6:


The manual for nix, the package manager
The manual for nix, the package manager
https://nix.dev/manual/nix/unstable


https://nix.dev/manual/nix/stable
https://nix.dev/manual/nix/stable


https://nix.dev/manual/nix/unstable
https://nix.dev/manual/nix/latest
 
https://nix.dev/manual/nix/2.24


=== Nixpkgs ===
=== Nixpkgs ===
Line 24: Line 24:


The manual for nixos, the linux based operating system
The manual for nixos, the linux based operating system
https://nixos.org/manual/nixos/unstable


https://nixos.org/manual/nixos/stable
https://nixos.org/manual/nixos/stable
https://nixos.org/manual/nixos/unstable


=== home-manager ===
=== home-manager ===


The manual for [[Home_Manager]]
The manual for [[Home Manager]]


https://nix-community.github.io/home-manager
https://nix-community.github.io/home-manager
=== nix-darwin ===
The manual for [[Nix-darwin]]
https://nix-darwin.github.io/nix-darwin/manual/index.html


== Building the manuals yourself ==
== Building the manuals yourself ==
Line 58: Line 64:
==== older versions of the manual ====
==== older versions of the manual ====


If you want to build the manual for older versions of nixpkgs for e.g. nixos-24.11
If you want to build the manual for older versions of nixpkgs for e.g. nixos-24.05


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
nix build github:nixos/nixpkgs/nixos-24.11#nixpkgs-manual --print-out-paths --no-link
nix build github:nixos/nixpkgs/nixos-24.05#nixpkgs-manual --print-out-paths --no-link
</syntaxhighlight>
</syntaxhighlight>


Line 84: Line 90:


# after 2.25.x
# after 2.25.x
nix build github:nixos/nix/2.25.0#packages.x84_64-linux.nix-manual --print-out-paths --no-link
nix build github:nixos/nix/2.25.0#nix-manual --print-out-paths --no-link


# master
# master
nix build github:nixos/nix#packages.x84_64-linux.nix-manual --print-out-paths --no-link
nix build github:nixos/nix#nix-manual --print-out-paths --no-link
 
# for other system
nix build github:nixos/nix/2.25.0#packages.aarch64-darwin.nix-manual --print-out-paths --no-link
</syntaxhighlight>
</syntaxhighlight>


Line 96: Line 105:
nix build github:nix-community/home-manager#docs-html --print-out-paths --no-link
nix build github:nix-community/home-manager#docs-html --print-out-paths --no-link


# stable version, e.g. 24.11
# stable version, e.g. 25.05
nix build github:nix-community/home-manager/release-24.11#docs-html --print-out-paths --no-link
nix build github:nix-community/home-manager/release-25.05#docs-html --print-out-paths --no-link
</syntaxhighlight>
 
=== nix-darwin manual ===
 
<syntaxhighlight lang="bash">
# unstable
nix build github:LnL7/nix-darwin#manualHTML --print-out-paths --no-link
 
# stable version, e.g. 25.05
nix build github:LnL7/nix-darwin/nix-darwin-25.05#manualHTML --print-out-paths --no-link
 
# in local clone with nix-build
nix-build release.nix -A docs.manualHTML
</syntaxhighlight>
</syntaxhighlight>