-
-
Notifications
You must be signed in to change notification settings - Fork 17.6k
vimPlugins.go-nvim: add guihua-lua to dependencies #477519
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
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, minor nits on naming consistency with generated shared library and a comment fix.
Naming suggestion can be ignored, but think we should clarify the comment appropriately.
Generated file structure looks the same as mine in the plugin update.
I had this:
guihua-lua = super.guihua-lua.overrideAttrs {
checkInputs = [ self.nvim-treesitter ];
buildPhase = ''
pushd lua/fzy
make
popd
'';
nvimSkipModules = [
# NOTE: `.init` fails to find `init.lua`
# We can require the `init.lua` fine though
"fzy.fzy-lua-native"
];
};But, I don't mind having the dedicated drv for the lib itself.
| pushd lua/fzy | ||
| make | ||
| popd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I liked it more how @khaneliman did it. Much better than separating it into its own derivation and having a lot of boilerplate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for remembering the build hooks
Co-Authored-By: Austin Horstman <khaneliman12@gmail.com>
It is requeried if user wants nvim-treesitter main.
Fixes #476883
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.