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

vimPlugins.tsc-nvim: init at 2024-08-14 #357769

Merged
merged 2 commits into from
Nov 23, 2024
Merged

vimPlugins.tsc-nvim: init at 2024-08-14 #357769

merged 2 commits into from
Nov 23, 2024

Conversation

347Online
Copy link
Contributor

@347Online 347Online commented Nov 21, 2024

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

@NixOSInfra NixOSInfra added the 12. first-time contribution This PR is the author's first one; please be gentle! label Nov 21, 2024
@347Online 347Online force-pushed the tsc.nvim branch 2 times, most recently from 699fb75 to d333b2b Compare November 21, 2024 08:13
@347Online
Copy link
Contributor Author

I ran the commands as outlined in the docs

Is it kosher that it's making so many seemingly unrelated changes? I freshly rebased from upstream before running the update command

TL;DR is it normal to just update the vimPlugins in general when just adding a specific one?

@347Online 347Online changed the title vimPlugins.tsc-nvim: init at 2024-08-14 Add vim plugin tsc.nvim Nov 21, 2024
@347Online 347Online changed the title Add vim plugin tsc.nvim vimPlugins.tsc-nvim: init at 2024-08-14 Nov 21, 2024
@347Online 347Online marked this pull request as ready for review November 21, 2024 08:58
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.

Is it kosher that it's making so many seemingly unrelated changes? I freshly rebased from upstream before running the update command

TL;DR is it normal to just update the vimPlugins in general when just adding a specific one?

A feature for updating individual plugins is WIP, see #336137. For now, please remove all unrelated changes manually

This plugin depends on tsc, it is probably a good idea to patch it like here:

ranger-nvim = super.ranger-nvim.overrideAttrs {
patches = [ ./patches/ranger.nvim/fix-paths.patch ];
postPatch = ''
substituteInPlace lua/ranger-nvim.lua --replace '@ranger@' ${ranger}/bin/ranger
'';
};

Lines, where tsc is used:
https://github.com/dmmulroy/tsc.nvim/blob/82c37ebfe45d30763db6f45b54e18f1e485bb52c/lua/tsc/utils.lua#L19

@347Online 347Online force-pushed the tsc.nvim branch 4 times, most recently from 26dbbf1 to d532e99 Compare November 22, 2024 03:31
@347Online
Copy link
Contributor Author

@PerchunPak Great feedback, thank you. I believe I've addressed the things you've raised, mind giving this another look?

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.

LGTM, just squash all commits into one please

@PerchunPak
Copy link
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 357769


x86_64-linux

✅ 2 packages built:
  • vimPlugins.tsc-nvim
  • vimPluginsUpdater

aarch64-linux

✅ 2 packages built:
  • vimPlugins.tsc-nvim
  • vimPluginsUpdater

x86_64-darwin

✅ 2 packages built:
  • vimPlugins.tsc-nvim
  • vimPluginsUpdater

aarch64-darwin

✅ 2 packages built:
  • vimPlugins.tsc-nvim
  • vimPluginsUpdater

@teto teto merged commit 8d83dc5 into NixOS:master Nov 23, 2024
36 of 37 checks passed
@teto
Copy link
Member

teto commented Nov 23, 2024

I squashed them from UI. Merging based on @PerchunPak 's approval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: vim 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants