Previously, paths not being deleted by gcDeleteSpecific would result in (a) hardlinks not being cleaned up, and (b) statistics not being reported correctly. By throwing the error later, we fix both of these problems. Change-Id: I8019f3e10d9f22e81ea87bb26b77f04ebc888a19
461 B
461 B
synopsis, issues, cls, category, credits
| synopsis | issues | cls | category | credits | ||
|---|---|---|---|---|---|---|
| nix-store --delete: always remove obsolete hardlinks |
|
Fixes |
|
Deleting specific paths using nix-store --delete or nix store delete previously did not delete hard links created by nix-store --optimise even if they became obsolete, unless all of the given
paths were deleted successfully. Now, hard links are always cleaned
up, even if some of the given paths could not be deleted.