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

Update 11-garbage-collector.md #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

noamraph
Copy link
Contributor

I just learned the chapter on GC, and I want to suggest two changes:

  1. The text instructs to remove /nix/var/nix/profiles/default-9-link, however I don't see such files. Instead, it seems that you should remove ~/.local/state/nix/profiles/default-9-link.
  2. The command that should remove indirect roots generated by nix-build seems way too broad. It will remove all profiles as well. I wrote another command, which just removes the outputs of nix-build.

For (1), I also had to update the description.

Can you review, and say what you think?

Thanks,
Noam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

1 participant