Nixpkgs Overlays Are Monoids
haskellforall.com
haskellforall.com
trivial to make a minor tweak or even used a forked repo without changing anything else in the system in regards to installing packages,upgrading or maintaining. Completely transparent
I don't really understand the Monoid part of this post though
It's a very common structure across programming domains.
The identity overlay is "self: super: {}"
Overlay combination is associative. If you have N overlays, it doesn't matter the order to apply them left-to-right.
In fact, I believe overlays are also commutative. Which makes sense - it would be silly if you wrote an overlay in isolation and how it worked depended on where it landed in your overlays list.
No. But "nice" overlays probably should have this property, since commutativity means orthogonality.