-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to force expire individual tarballs and artifacts downloaded with builtins.fetch* #1223
Comments
I think the mechanism today would be to |
So, what would be the simplest way today to get one specific tarball to expire, in order to re-download it often/everytime ? |
An optional ttl argument for fetch functions sounds sufficient? |
I marked this as stale due to inactivity. → More info |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/local-flake-based-nix-search-nix-run-and-nix-shell/13433/11 |
I marked this as stale due to inactivity. → More info |
Still relevant. Currently my only solution is to delete the offending cached file from the Nix store via |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
I think we can set the (somewhat awkwardly named)
tarball-ttl
option today but that applies to all artifacts downloaded that way. It would be nice to be able to expire them manually. I could probably modify the .info file to shift the timestamp back, but that feels awkward.cc @edolstra
The text was updated successfully, but these errors were encountered: