mlvzk / manix

A fast CLI documentation searcher for Nix.
Mozilla Public License 2.0
361 stars 19 forks source link

Index Home Manager options from the Flake Registry #28

Open pacien opened 1 year ago

pacien commented 1 year ago

I'm configuring Home-Manager from my system's configuration, defined in a Flake.

I don't use channels and I'd like to avoid setting those, not to give them a chance to go out of sync with the inputs of the Flake.

Nevertheless, I have Home Manager registered in the nix.registry option.

I currently get this error when rebuilding the manix cache:

❯ manix --update-cache test
Building Home Manager Options cache...
Failed to update Home Manager Options

Caused by:
    0: Failed to perform IO on a cache file
    1: No such file or directory (os error 2)
Tip: If you installed your home-manager through configuration.nix you can fix this error by adding the home-manager channel with this command: nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager && nix-channel --update

Would it be feasible to index Home Manager options from the Flake registry instead of a channel?

arjan-s commented 1 year ago

Just found this tool and immediately hit this same issue. Seeing as there aren't any commits for almost 2 years, should this tool be considered abandoned? If so, is there another out there that does the same but works correctly?

zvolin commented 5 months ago

just hit the same issue. I'm afraid the tool is abandoned

zvolin commented 5 months ago

there is a fork actually, but it has similar issue https://github.com/nix-community/manix