Can someone explain to me the advantage of using Nix over containers? What do they offer that are not provided with using docker or other container platform.
One thing is perfect caching. Each package is cached in its own folder, so if you exchange one package you don't have to rebuild the rest of the image. Also you can have multiple versions of the package cached. Also all your environments benefit from the cache, since each "layer" is independent. Docker's layer based caching is very limiting for larger images. With Nix you spend basically no time on incremental builds…
Build once on one machine and all developers can just download the build.