manix
manix copied to clipboard
No hm options
I'm getting the following error when updating the cache:
❯ manix "" -u --source hm_options
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
Building NixOS Options cache...
Building Nixpkgs Tree cache...
Building Nixpkgs Documentation cache...
Here are my channels:
❯ nix-channel --list
home-manager https://github.com/rycee/home-manager/archive/master.tar.gz
nixos https://nixos.org/channels/nixos-unstable
I am using manix 0.6.3. Have I missed something?
manix uses the wrong search path for recent versions of Home Manager.
https://github.com/mlvzk/manix/blob/d08e7ca185445b929f097f8bfb1243a8ef3e10e4/src/options_docsource.rs#L107-L111
<home-manager/doc>
should actually be <home-manager/docs>
.
@mlvzk Are you interested in fixing this? I could make a PR for it if you would like.
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?
@arjan-s Fixed in https://github.com/nix-community/manix
Oh that's great news! I totally missed its adoption into nix-community
Yeah, it's still relatively small, based on a fork. I was the shepherd for it's inclusion, and am taking over as the primary maintainer