-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Prebuilt index not found #42
Comments
Yep, seems to be broken for this use case. Maybe it has to do with the wrapper that it's using. |
It also failed for me but I imported via the darwin module so nix-index-database.darwinModules.nix-index The command-not-found hook for nix-index does however work so the infrastructure is there. |
I have a similar setup, but was able to get around the problem by re-generating the index: The error:
Workaround (doing what it suggests) - takes 10 minutes or so:
Then it works, but with a bunch of warnings about missing channels:
I'm not sure about those warnings. Googling only says something about them not being relevant when flakes are used... (or something?) I'm also concerned that the state it dumped in |
Those are because you have the directory in NIX_PATH but it doesn't exist. It is a warning from nix and has nothing to do with comma.
Yes, that's why many people use the index-db via flakes. |
I tried to setup comma together with the prebuilt index from
https://github.com/Mic92/nix-index-database
but I get
Warning: Nix-index database does not exist
.I am on macOS and I have
nix-index-database.hmModules.nix-index
as a home-manager module,further I have
programs.nix-index.enable = true;
and finally I have
comma
inhome.packages
.You can see the precise setup here:
Thanks!
The text was updated successfully, but these errors were encountered: