3 ms·
> There are significant advantages to having the entire Nixpkgs package set in a mono repository. Yes there is many advantages to nixpkgs being a single repo.
by adev_ 7y ago
> There are significant advantages to having the entire Nixpkgs package set in a mono repository.
Yes there is many advantages to nixpkgs being a single repo.
In fact, it is one of the main strength of Nix.
It gives you all the advantages of corporate style source monorepo without the inconvenience.
Out of order:
- It avoids the multi-version diamond dependency problem and the necessity of a SAT solver.
- It allows transactional upgrade of multiple packages.
- The detection of any break / problem of an update for any software depending on it automatically.
- A consistent view on the entire dependency tree at each instant. With possibility of rollbacks.