4 ms·
so what's the difference between overlays and package overriding?
by zzzzzzzza 10y ago
so what's the difference between overlays and package overriding?
- nbpname 10y agoOverlays is a way to extend Nixpkgs in a format which can easily be shared, imported and combined. An overlay can add or override packages, like any user could do before with packageOverrides. An example of overlay is the rust overlay provided in the nixpkgs-mozilla[1] repository, which package all latest versions of the rust compiler[2]. [1] https://github.com/mozilla/nixpkgs-mozilla https://github.com/mozilla/nixpkgs-mozilla [2] https://github.com/mozilla/nixpkgs-mozilla/blob/master/rust-overlay.nix https://github.com/mozilla/nixpkgs-mozilla/blob/master/rust-...