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: cleanup overrides #119356
vimPlugins: cleanup overrides #119356
Conversation
pkgs/misc/vim-plugins/overrides.nix
Outdated
, llvmPackages # clang_complete, clighter8 | ||
, meson # meson | ||
, nim # fruzzy | ||
, nodePackages # coc-* |
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.
that goes to languages.
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.
Good old edge cases :p
I think both would be reasonable. I put this here, since it's being used exclusively to get the source for all the coc
plugins. I'm inclined to leave it here, but I'm happy to move it if you still think is should go in the languages section.
}: | ||
|
||
self: super: { | ||
|
||
vim2nix = buildVimPluginFrom2Nix { |
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 am not feeling like proof reading all of this right now to spot any mistakes.
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.
Cool, thanks for the quick feedback on the arguments.
FWIW, all the changes from here down are just me sorting the top-level attributes alphabetically (case-insensitive). So I don't think there's much to proofread.
4b4ec25
to
52885fc
Compare
When making the other changes I noticed that the use of If that's correct, then as part of this cleanup, I'd be happy to go through any overrides that specify |
52885fc
to
c486c18
Compare
(Rebased on |
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 guess this is fine since it is zero rebuilds for actual vimPackages. @jonringer
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.
Thanks! @jonringer, any interest in me tackling the super/self issue I mentioned here: #119356 (comment) |
|
Sweet, done here: #119977 |
Motivation for this change
I went to add some overrides, and noticed that the file might benefit from some cleanup. As far as I could tell, there wasn't a consistent policy used for ordering/organizing the overrides, and the arguments. For the former, I sorted them alphabetically. For the latter, I sorted them and organized them into what I think are pretty intuitive groups.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)