infuse.nix
is a “deep” version of both .override
and .overrideAttrs
. It generalizes both lib.pipe
and recursiveUpdate
. It can be used as a leaner, untyped alternative to lib.modules
(if you want dynamic typechecking, it works well with yants)
There are two mirrors:
- https://codeberg.org/amjoseph/infuse.nix (prettier markdown rendering, PRs disabled)
- https://git.sr.ht/~amjoseph/infuse.nix (canonical repo; send patches here)
A tutorial will be added soon, along with the release of several projects downstream of this.
Short questions/bugs/help-requests can go to #six/hackint
(but please keep in mind that I work asynchronously – I may only check once a day).