gytis-ivaskevicius / flake-utils-plus

Use Nix flakes without any fluff.
MIT License
485 stars 57 forks source link

Need for a `system` arg for outputsBuilder #129

Closed anilanar closed 1 year ago

anilanar commented 1 year ago

If I understood it correctly, outputsBuilder is a map fn from system to outputs, but the most crucial information, which system it is, is hidden from it.

Use case:

I want to use my-flake.stuff.${system} in outputsBuilder.

gytis-ivaskevicius commented 1 year ago

Hi, sorry for the late response. Please use pkgs.system for that