-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
enable structuredAttrs for vimPlugins #336042
Conversation
0d711ca
to
e9b1047
Compare
Should probably target staging
|
Build logs for failed builds: Only |
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.
Honestly, I don't know the reason behind those failures, but this should not be merged until this is resolved. We test only a small portion of plugins, which is why I suspect there are even more hidden breakages.
overrideAttrs = f: addRtp (drv.overrideAttrs f); | ||
}; | ||
{ | ||
addRtp = drv: lib.warn "`addRtp` is deprecated, does nothing." drv; |
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.
Why not keep the migration help?
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.
no one is using addRtp and it breaks overrideAttrs in some ways. It has been deprecated for a few releases now, it's me being nice for the last release and if no one complains about it after next release, remove it completely.
These are clearly not linked to this PR. sg.nvim was broken due to the rust bump. The hard-hat one probably by a PR merge without a nixpkgs-review. |
All of them (except for sg.nvim), get built without any issues on master, and only after cherry-picking this PR, there are failures: ~/dev/nixpkgs @7f871ed07194 ❯ nix build .#vimPlugins.hardhat-nvim .#vimPlugins.idris2-nvim .#vimPlugins.nvim-dap-ui --keep-going --rebuild
fetching git input 'git+file:///home/perchun/dev/nixpkgs'
fetching git input 'git+file:///home/perchun/dev/nixpkgs'
fetching git input 'git+file:///home/perchun/dev/nixpkgs'
checking outputs of '/nix/store/i8zjszpaba1ifbfab7vyygh16sxgyvz9-vimplugin-hardhat.nvim-2024-07-28.drv'...
checking outputs of '/nix/store/kfwava78f9638azfbwgcb58d917asxx4-vimplugin-idris2-nvim-2023-09-05.drv'...
checking outputs of '/nix/store/07jjsfarj6yj7mw9l7wd56qh8dkabnik-vimplugin-nvim-dap-ui-2024-07-13.drv'... |
due to structuredAttrs |
e39e6e0
to
824249b
Compare
824249b
to
b16cd97
Compare
it has been doing nothing for a few years now. I doubt it's being used anywhere outside nixpkgs. Will remove it after release
it's a cool feature, let's enable it before release to find issues early the neovimRequireCheckHook needed changes since now 'dependencies' is seen as a bash array instead of a string: 1. we first expand it as a string 2. we replace ' ' with ',' (as before)
b16cd97
to
e9f4eb9
Compare
@PerchunPak it fixes build for hardhat and the one problematic plugins you mentioned (I just built htose, haven't run a nixpkgs-review on it). I think t's ready |
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
A bit late, but sacrificed a few GBs of my internet for nixpkgs-review https://gist.github.com/PerchunPak/55a46813c8e47565e4cf3bbf8e2da49c |
Description of changes
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.