nix.dev
nix.dev copied to clipboard
Official documentation for getting things done with Nix.
Add section for direnv that links readers to the nix-community implementation as it's: 1 - faster due to caching of the environment 2 - creates a gcroots Open question: Why...
Currently, all the tutorials on pinning (https://nix.dev/tutorials/towards-reproducibility-pinning-nixpkgs / https://nix.dev/reference/pinning-nixpkgs#ref-pinning-nixpkgs) seem to use `fetchTarball` without passing a sha - the snippets should probably be updated to include that, and provide some...
Consider a use case where we are: - installing, with nix, multiple tools for our development environment - pinning nixpkgs as described in https://nix.dev/tutorials/towards-reproducibility-pinning-nixpkgs . - using this same nix...
New users sometimes are interested in flakes and have heard of them, but may avoid them due to their experimental status and perceived additional complexity. A friendly way to introduce...
A good example is mixing aarch64-darwin and x86_64-darwin. Another one is using unstable and stable to get different versions of software.
I searched on internet and in nix.dev and still am confused how to do it.
Prompted by https://github.com/nix-dot-dev/nix.dev/issues/194 This came out longer than I hoped; feel free to criticize it to death (or merge and then modify to your pleasure).