comma
comma copied to clipboard
Prebuilt index not found
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
in home.packages
.
You can see the precise setup here:
- https://github.com/MarkusLohmayer/nix-config/blob/main/flake.nix#L23
- https://github.com/MarkusLohmayer/nix-config/blob/main/flake.nix#L87
- https://github.com/MarkusLohmayer/nix-config/blob/main/home/home.nix#L21
- https://github.com/MarkusLohmayer/nix-config/blob/main/home/home.nix#L54
Thanks!
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 and comma installed system wide via environment.systemPackages
The command-not-found hook for nix-index does however work so the infrastructure is there.