-
-
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
nix-collect-garbage --delete-older-than Nd
does not delete system profile generations older than N days
#5126
Labels
Comments
I marked this as stale due to inactivity. → More info |
I'm running into the same issue on a more recent version of Nix:
cc @thufschmitt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
According to
nix-collect-garbage --help
:However:
Despite system-13-link being more than 25 days old, nix-collect-garbage has not deleted it.
Steps To Reproduce
nix-collect-garbage --delete-older-than Nd
where N is smaller than the age of a generation not in use, in daysExpected behavior
All generations that are older than the given number of days are removed from the profile directory and all nix store objects that become unreachable as a result are deleted from the nix store.
nix-env --version
outputAdditional context
None
The text was updated successfully, but these errors were encountered: