-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Provide all the binaries needed by the vim-go plugin #49669
Provide all the binaries needed by the vim-go plugin #49669
Conversation
not sure if this works, I'll try anyway @GrahamcOfBorg build -E 'with import {}; neovim.override { configure = { vam.pluginDictionaries = [ "vim-go" ]; }; }' |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: -E, 'with, import, , {};, neovim.override, {, configure, =, {, vam.pluginDictionaries, =, [, "vim-go", ];, };, }' Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: -E, 'with, import, , {};, neovim.override, {, configure, =, {, vam.pluginDictionaries, =, [, "vim-go", ];, };, }' Partial log (click to expand)
|
aarch64 cpus are going to break on pkgsi686Linux packages. See this error: https://hydra.nixos.org/build/82962379/
@GrahamcOfBorg eval |
@@ -9,6 +9,12 @@ | |||
, languagetool | |||
, Cocoa, CoreFoundation, CoreServices | |||
, buildVimPluginFrom2Nix | |||
|
|||
# vim-go denpencies |
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.
# vim-go denpencies | |
# vim-go dependencies |
|
Success on x86_64-darwin (full log) Attempted: asmfmt, deadcode, errcheck, go-check, go-tools, goconst, gocyclo, gogetdoc, gometalinter, gosec, iferr, impl, ineffassign, interfacer, maligned, reftools, unconvert, vimPlugins.vim-go Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: asmfmt, deadcode, errcheck, go-check, go-tools, goconst, gocyclo, gogetdoc, gometalinter, gosec, iferr, impl, ineffassign, interfacer, maligned, reftools, unconvert, vimPlugins.vim-go Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: asmfmt, deadcode, errcheck, go-check, go-tools, goconst, gocyclo, gogetdoc, gometalinter, gosec, iferr, impl, ineffassign, interfacer, maligned, reftools, unconvert The following builds were skipped because they don't evaluate on aarch64-linux: vimPlugins.vim-go Partial log (click to expand)
|
Motivation for this change
The vim-go plugin requires some external binaries to function properly, this change patches the plugin with the PATH that provides all the binaries it needs.
I tested the plugin with:
nix-shell -I nixpkgs=. --pure -p 'with import <nixpkgs> {}; neovim.override { configure = { vam.pluginDictionaries = [ "vim-go" ]; }; }'
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)replaces #49498