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

nix-collect-garbage man page: --print-* flags aren't accepted #641

Closed
khumba opened this issue Sep 9, 2015 · 4 comments
Closed

nix-collect-garbage man page: --print-* flags aren't accepted #641

khumba opened this issue Sep 9, 2015 · 4 comments
Milestone

Comments

@khumba
Copy link

khumba commented Sep 9, 2015

nix-collect-garbage(1) says that --print-roots, --print-live, and --print-dead are valid options, but they aren't accepted (better than before eadb86f though where they were ignored and --delete was performed :).

@danbst
Copy link
Contributor

danbst commented Jan 27, 2016

For workaround, use nix-store

$ nix-store --gc --print-roots

@domenkozar
Copy link
Member

Same for --dry-run

@domenkozar domenkozar added this to the nix-1.12 milestone Aug 1, 2017
@iblech
Copy link

iblech commented Oct 30, 2017

What is the status of this issue? Is it just a documentation problem? If so, can't we just delete the mention of these non-existent features from the documentation (or better yet, mention @danbst's workaround)?

At another issue I read that a mysterious "significant doc overhaul" is planned, therefore it's not clear to me how to go ahead.

danbst added a commit to danbst/nix that referenced this issue Oct 31, 2017
This removes confusing documentation. It's better to remove doc than add implementation, because Nix 1.12 will surely have new GC interface anyway.

Fixes NixOS#641
@mboes
Copy link

mboes commented Jan 1, 2018

This ticket should be marked as fixed as per #1648 being merged.

@edolstra edolstra closed this as completed Jan 2, 2018
DavidEGrayson pushed a commit to DavidEGrayson/nix that referenced this issue Apr 30, 2018
This removes confusing documentation. It's better to remove doc than add implementation, because Nix 1.12 will surely have new GC interface anyway.

Fixes NixOS#641
edolstra pushed a commit that referenced this issue May 3, 2018
This removes confusing documentation. It's better to remove doc than add implementation, because Nix 1.12 will surely have new GC interface anyway.

Fixes #641

(cherry picked from commit ac22d77)
zolodev pushed a commit to zolodev/nix that referenced this issue Jan 1, 2024
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

No branches or pull requests

6 participants