nmattia / niv

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

Stop using ref in builtins.fetchGit fetcher #268

Closed nmattia closed 4 years ago

nmattia commented 4 years ago

Instead, sources now record either branch or tag. The fetcher specifies the correct ref (/refs/heads/... or /refs/tags/...) which works in the newest version of Nix. The ref attribute can still be set to override the logic.

Fixes #266