Skip to content
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

Make nix store delete ./result work #9475

Open
thufschmitt opened this issue Nov 27, 2023 · 0 comments
Open

Make nix store delete ./result work #9475

thufschmitt opened this issue Nov 27, 2023 · 0 comments

Comments

@thufschmitt
Copy link
Member

thufschmitt commented Nov 27, 2023

Calling nix store delte on a result (or equivalent) symlink is a fairly intuitive thing to do, but doesn't work (since that result
symlink makes its target a GC root).

Proposal: get it to work by making nix store delete ./result first remove the symlink and then do the deletion.

(Pulled out of #7701 since it's a nice improvement, but not in the critical path of the stabilisation).

@thufschmitt thufschmitt changed the title proposal TODO: support deletion of ./result, where the implementation would delete the result symlink, auto-gc root, and underlying nix store path Make nix store delete ./result work Nov 27, 2023
@thufschmitt thufschmitt added this to the CLI Stabilisation milestone Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Defined work
Development

No branches or pull requests

1 participant