nmattia / niv

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

subcommand to refresh checksum #240

Open giacomocariello opened 4 years ago

giacomocariello commented 4 years ago

I would like to request a new subcommand called "refresh" with a source as argument or alternatively a flag to "update" subcommand. The aim of such subcommand/flag would be to update checksum. The reason for such operation would be to fix cases where content of a specific tag was updated, without having to drop/re-add the source.

nmattia commented 4 years ago

Makes sense. What about niv update --force?

giacomocariello commented 4 years ago

Looks great!