Skip to content

Update 11-garbage-collector.md#241

Open
noamraph wants to merge 1 commit into
NixOS:masterfrom
noamraph:garbage-collector-update
Open

Update 11-garbage-collector.md#241
noamraph wants to merge 1 commit into
NixOS:masterfrom
noamraph:garbage-collector-update

Conversation

@noamraph
Copy link
Copy Markdown
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

None yet

Development

Successfully merging this pull request may close these issues.

1 participant