-
-
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
Garbage collect a closure #7239
Comments
@edolstra shouldn't this delete the second path?
|
Ohh, it does delete it but it says it didn't 😆 |
Really? That would be very bad. |
|
Just to clarify, by closure, you mean you want to be able to automatically delete exactly those paths printed by EDIT: I see what you mean I think. Some paths printed by |
@edolstra what do you think about this approach by @thufschmitt tweag@0bb351b |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-03-23-nix-team-meeting-minutes-43/26758/1 |
I'd like to give Nix a closure that I'd like to garbage collect leaf nodes up to the point it hits a live node.
Something like
nix store delete --recursive <installable>
.The text was updated successfully, but these errors were encountered: