Files
lix/doc/manual/rl-next/fix-gc-links.md
T
Linus Heckemann e753fcb414 gc: delay throwing error until cleanup is complete
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
2025-06-02 20:05:32 +02:00

461 B

synopsis, issues, cls, category, credits
synopsis issues cls category credits
nix-store --delete: always remove obsolete hardlinks
3188
Fixes
lheckemann

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.