nix.dev is a community effort to collect, create, and maintain world-class learning resources for Nix.
We strongly encourage everyone interested to participate:
- Make a pull request if you want to introduce an incremental change.
- Open an issue if you want to discuss a significant change before starting to work on it.
Please read our contributor guide for more details.
Enter the development environment with nix-shell
, or set up direnvand run
direnv allow`, and then:
[nix-shell:nix.dev]$ devmode
and open a browser at http://localhost:5500.
As you make changes, your browser should auto-reload.
To manually test redirects:
[nix-shell:nix.dev]$ nix-build -A build
[nix-shell:nix.dev]$ netlify dev -d result
With the current setup, the Nix manual hosted on nix.dev does not get updated automatically with new releases. The following manual steps are required:
nix-shell --run update-nixpkgs-releases
nix-shell --run update-nix-releases