Getting started with Nix package manager
Nix is a package manager implemented as a minimalistic functional language. Nix package, for example Nginx is a result of a function mkDerivation and Nix tries very hard for result to have two properties: No side-effects. Given the same input to the function, you should get the same binary package stored in Nix Store. Package in Nix Store is immutable. Nix supports Linux, OS X and FreeBSD platforms (probably others like Cygwin, but not as officially supported). Although Nix Manual is quite verbose about how to use Nix, I’ll explain in short how to bootstrap and get started.