2 ms·
Creating a docker image is one of many things Nix do. IMO one of the killer feature is actually providing a reproducible dev environment. Nix besides the build
by takeda 7y ago
Creating a docker image is one of many things Nix do. IMO one of the killer feature is actually providing a reproducible dev environment.
Nix besides the build, can provide a shell that contains all the tooling necessary to build the application. The definition lives together in the same repo as application any everyone who uses it will get the exact same tools with the same versions.
- tiew9Vii 7y agoIt’s always a good idea to pin the nixpkg version in nix shell. Once you do this it saves all the “it runs on my machine”. No more days following a readme setting up a vagrant/virtualbox machine, which is then slow as a vm with limited memory on a laptop. Instead you type one command, “nix-shell” and get everything installed locally as required in a deterministic way. Agree, this has been a revelation to teams I’ve worked on.