nmattia / niv

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

feature request: force update #388

Closed yshui closed 5 months ago

yshui commented 5 months ago

Some urls used in nix will have different contents overtime, for example: https://static.rust-lang.org/dist/channel-rust-nightly.toml used by the fenix rust overlay to fetch manifests; or https://code.visualstudio.com/sha/download?build=insider&os=linux-x64, which is suggested here for fetching insider builds of vscode.

What I observed is, niv update does nothing for those urls. Is it because their url is fixed? If so, can niv update have an option to update of the sha256s regardless if the urls are unchanged?

nmattia commented 5 months ago

Yes that's right! Let's continue the discussion here: https://github.com/nmattia/niv/issues/240