-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
coc-pyright: migrate from nodePackages #327171
Conversation
685bf1c
to
df6f728
Compare
@@ -342,6 +343,12 @@ | |||
src = "${coc-diagnostic}/lib/node_modules/coc-diagnostic"; | |||
}; | |||
|
|||
coc-pyright = buildVimPlugin { | |||
pname = "coc-nginx"; |
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.
Shouldn't it be "coc-pyright"
?
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.
Yes, thank you for noticing that!
Why though? |
df6f728
to
eaff6e7
Compare
Still, why move this package from |
See #229475 |
I think this is ok to merge, but I'd like another person agreeing with it. I am not much aware with the situation about node packages. |
Result of 3 packages built:
|
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.
LGMT, though it would be nice if someone could test this on their coc.nvim installation
|
||
buildNpmPackage { | ||
pname = "coc-pyright"; | ||
version = "1.1.371"; |
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.
Looks like there is a new release, how about updating?
fannheyward/coc-pyright@7a76586
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. Let's update it in another PR.
Description of changes
Migrates this package from the nodePackages set, and updates the vimPlugins set so that it pulls from the top-level package instead of the one in the nodePackages set.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-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.