nmattia / niv

Easy dependency management for Nix projects
https://github.com/nmattia/niv
MIT License
1.52k stars 74 forks source link

Add better documentation about the templating system and the attribute parameters #329

Open refnil opened 2 years ago

refnil commented 2 years ago

@nmattia yes, it does (thank you by the way!), though I think the role of attributes should be clarified, at least on the readme, what do you think? The relationship between attributes and templates is never explained explicitly...

Originally posted by @sir4ur0n in https://github.com/nmattia/niv/issues/232#issuecomment-678774508

nmattia commented 2 years ago

The --help says this:

 -t,--template URL        Used during 'update' when building URL. Occurrences
                           of <foo> are replaced with attribute 'foo'.

I guess something like this could be added to the README?