Skip to content
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

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

pyrox0
Copy link
Member

@pyrox0 pyrox0 commented Jul 14, 2024

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

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@@ -342,6 +343,12 @@
src = "${coc-diagnostic}/lib/node_modules/coc-diagnostic";
};

coc-pyright = buildVimPlugin {
pname = "coc-nginx";
Copy link
Contributor

@smancill smancill Aug 23, 2024

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"?

Copy link
Member Author

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!

@PerchunPak
Copy link
Member

Why though?

@PerchunPak
Copy link
Member

Still, why move this package from nodePackages?

@pyrox0
Copy link
Member Author

pyrox0 commented Aug 28, 2024

Still, why move this package from nodePackages?

See #229475

@smancill
Copy link
Contributor

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.

@PerchunPak
Copy link
Member

Result of nixpkgs-review pr 327171 run on x86_64-linux 1

3 packages built:
  • coc-pyright
  • vimPlugins.coc-pyright
  • vimPluginsUpdater

Copy link
Member

@PerchunPak PerchunPak left a 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";
Copy link
Member

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

Copy link
Member

@natsukium natsukium left a 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.

@natsukium natsukium merged commit ad60caf into NixOS:master Sep 8, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants