numtide / flake-utils

Pure Nix flake utility functions [maintainer=@zimbatm]
MIT License
1.14k stars 78 forks source link

`each{,Default}System{,Map}`: accept binary functions #79

Open ilkecan opened 2 years ago

ilkecan commented 2 years ago

The functions passed to these 4 functions above can now take an additional argument after their first one (previously system -> attrs, now system -> self -> attrs). The optional self argument can be used to refer to the fixed point of the function (self -> attrs).

Closes: #78

zimbatm commented 1 year ago

sounds good! This just requires a rebase (also sorry for being so late to review)