1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
nix.dev/source/reference/nix-manual.md
Silvan Mosberger f4794639c6 Various improvements to the dynamically generated Nix versions
- Use separate JSON files to track sources for Nixpkgs and Nix releases
  This greatly simplifies the code, because we can directly encode
  versions as keys without ambiguity
- Avoid an instance of IFD for the redirect generation
- Use pkgs.substitute instead of builtins.replaceStrings
- Turn off the single-page feature for now. It was added by Valentin in
  a previous commit, but I think we should discuss this a bit more
- Simplify a lot of the code and add comments
- Fix the mutable redirects, they were broken by a parent commit
- Remove pieces of Nix code that weren't used, like the import of the
  Nixpkgs manual. This can be added in the future when necessary
- Make sure that Nix versions are cached by building from the store path
2024-04-04 02:04:56 +02:00

52 lines
1.6 KiB
Markdown

---
myst:
html_meta:
"description lang=en": "Nix reference manual version overview"
"keywords": "Nix, reference, manual, documentation"
---
(nix-manual)=
# Nix reference manual
<!--
This page is pre-processed before rendering with Sphinx. For details:
grep -n nix-manual.md default.nix
-->
```{toctree}
:hidden:
Nix pre-release (development) <https://hydra.nixos.org/job/nix/master/build.x86_64-linux/latest/download>
Nix @nix-latest@ (latest) <https://nix.dev/manual/nix/latest/>
Nix @nix-rolling@ (in Nixpkgs rolling) <https://nix.dev/manual/nix/rolling/>
Nix @nix-stable@ (in Nixpkgs @nixpkgs-stable@) <https://nix.dev/manual/nix/stable/>
Nix @nix-prev-stable@ (in Nixpkgs @nixpkgs-prev-stable@) <https://nix.dev/manual/nix/prev-stable/>
```
The Nix reference manual is available for multiple versions:
- [Nix pre-release](https://hydra.nixos.org/job/nix/master/build.x86_64-linux/latest/download)
Development build from the `master` branch of the [Nix repository](https://github.com/NixOS/nix)
- [Nix @nix-latest@](https://nix.dev/manual/nix/latest/)
Latest Nix release
- [Nix @nix-rolling@](https://nix.dev/manual/nix/rolling/)
Shipped with the rolling release of {term}`Nixpkgs` and {term}`NixOS`
- [Nix @nix-stable@](https://nix.dev/manual/nix/stable/)
Shipped with the latest stable release of {term}`Nixpkgs` and {term}`NixOS`: @nixpkgs-stable@
- [Nix @nix-prev-stable@](https://nix.dev/manual/nix/prev-stable/)
Shipped with the previous stable release of {term}`Nixpkgs` and {term}`NixOS`: @nixpkgs-prev-stable@
:::{tip}
More information on Nixpkgs and NixOS releases: [](channel-branches)
:::