neovimRequireCheckHook: improve error message#377507
neovimRequireCheckHook: improve error message#377507GaetanLepage merged 1 commit intoNixOS:masterfrom
Conversation
64a5a4e to
0338bf8
Compare
|
Not really a fan of duplicating the neovim docs in every plugin failure. Would make more sense to just point people to them if they need help. |
Automatic "look here for help" would be better than manual, less friction means more contributions |
|
You recommend sticking to: ? |
yeah, I didn’t mean manually tell people. I meant direct to the existing documentation instead of duplicating it in console output |
0338bf8 to
2aa9b30
Compare
PerchunPak
left a comment
There was a problem hiding this comment.
Though this should wait for #377508
2aa9b30 to
d2e2d6c
Compare
|
Rebased on |
|
|
|
Things done
The addition of
neovimRequireCheckHookin #352277 was motivated by making the packaging of neovim plugins in nixpkgs more robust.We (nixpkgs neovim maintainers) are fine with, and used to, carefully tweaking the
dependenciesandnvimSkipModulefor each plugin.However, downstream users of
buildVimPluginmight not be familiar with this mechanism.-> I propose to enhance the error message to give more practical information to our users.
Of course, I am open to feedback regarding the wording.
Original author: cc @khaneliman
Motivated by feedback from @ALT-F4-LLC
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.