nix-store --delete is intended to gc closures and simply does not do that #495

Open
opened 2024-08-30 05:50:27 +00:00 by jade · 0 comments
Owner

If we look at the code for the garbage collector, we observe that it is actually supposed to delete the referrers:

370ac940dd/src/libstore/gc.cc (L750-L760)

This is also somewhat of a root cause of the UX issue in #282. That UX issue is still real, but it appears that this entire command is actually broken and not working as designed.

If we look at the code for the garbage collector, we observe that it is actually supposed to delete the referrers: https://git.lix.systems/lix-project/lix/src/370ac940dd7816ad4052fafa4e0f8d17784fa16b/src/libstore/gc.cc#L750-L760 This is also somewhat of a root cause of the UX issue in https://git.lix.systems/lix-project/lix/issues/282. That UX issue is still real, but it appears that this *entire command* is actually *broken* and not working as designed.
jade added the
bug
Area/store
labels 2024-08-30 05:50:27 +00:00
jade added the
E/help wanted
label 2024-09-09 02:29:24 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#495
No description provided.