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-store --init" is not documented in the man page or --help text #5618

Open
ghost opened this issue Nov 21, 2021 · 2 comments
Open

"nix-store --init" is not documented in the man page or --help text #5618

ghost opened this issue Nov 21, 2021 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Nov 21, 2021

Describe the bug

The manual page for nix-store does not mention "nix-store --init"

Steps To Reproduce

1. Wonder "gee, how do I initialize an empty nix store?"
2. Check the man page. Nothing there.
3. Try "nix-store --help". Nothing there.
4. Try the nix manual. Nothing there.
5. Try web search engines. Become frustrated with the non-uniquenss of the word "nix". Become even more frustrated with Google trying to spell-correct "nix" into "unix". Abandon all hope for the future of the web.

Expected behavior

Somebody adds a one-line mention of "nix-store --init" to the documentation for nix-store.

Additional context

Add any other context about the problem here.

@ghost ghost added the bug label Nov 21, 2021
@thufschmitt
Copy link
Member

As far as I know, nix-store --init is useless now, and only here for backwards-compatibility as stores will be created on-the-fly as needed

@stale stale bot added the stale label Aug 12, 2022
@kjeremy
Copy link
Contributor

kjeremy commented Sep 30, 2022

As far as I know, nix-store --init is useless now, and only here for backwards-compatibility as stores will be created on-the-fly as needed

This isn't true if you specify store = in nix.conf. The store needs to be created before the daemon in that case.

@stale stale bot removed the stale label Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants