nmattia / niv

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

Decompose sources.json #273

Open srid opened 4 years ago

srid commented 4 years ago

I would like to have each source to be defined in its own file (sources/foo.json, sources/bar.json, ...) so that git history is much easier to deal with it. Has this been thought of before, and if not is it worth a consideration?

nmattia commented 4 years ago

each source in its own file I believe is overkill, but i'm open to the idea of supporting several sources.jsons. Definitely worth consideration!

InLaw commented 3 years ago

from the user perspective it would be nice to have everything in one file to have an overview above all in one place but as developer I prefer to change only one file and commit that change (fully visible) to the repo in git(hub)

I would prefer a logic/semantic e.g.