vimPlugins: don't build generated plugins on hydra#377508
vimPlugins: don't build generated plugins on hydra#377508GaetanLepage merged 1 commit intoNixOS:masterfrom
Conversation
This comment was marked as duplicate.
This comment was marked as duplicate.
|
The drawback is that nixpkgs-review wouldn't test any massive rebuilds, but we can use Maybe implementing Mic92/nixpkgs-review#430 would also be a fix |
I’d be a fan of up streaming that functionality. I use it all the time because I don’t actually care about eval either for building package sets when nix will only build what has changed. |
|
I am in favor of this change. |
Disabling building is something I've thought about in the past, as I found the process wasteful. It has become more of an issue now that there is more activity on the nixpkgs vim side. It would be nice to still be able to build more complex neovim plugins (the ones with dependencies, so maybe all those How is one supposed to run a nixpkgs-review if the plugins are not built either ?
This is IMO a weak argument. We can wait a few hours/days. I suspect each contributor here runs his own fork of nixpkgs. |
Then I propose to block this pull request by Mic92/nixpkgs-review#430 which would add something like Also, do note that
#376370 strips out them from generated, so they will be built by hydra
Sure, we can. But that's an issue for other developers, an update of vim plugins should not delay update of the entire ecosystem if it is not necessary. And we should not wait for staging cycles if we can avoid it. |
So this is something that has to be implemented in |
|
Mic92/nixpkgs-review#459 got merged, so let's rebase and merge this |
Building generated plugin is really simple and its cost to serve from hydra greatly outcomes cost of locally building. This also allows us to merge big rebuilds, where each rebuild is fairly simple, to master without delaying next branch update by a few hours (see NixOS#368843 (comment))
3363aab to
e8e5cb4
Compare
We might want to wait for the patch to reach nixpkgs' nixpkgs-review to avoid an addionnal step for maintainers. |
Done ! We should be able to merge this now. |
|
Unless we want to wait until 3.1.0 will get to the unstable channel For now, I use this overlay |
Building generated plugin is really simple and its cost to serve from hydra greatly outcomes cost of locally building.
This also allows us to merge big rebuilds, where each rebuild is fairly simple, to master without delaying next branch update by a few hours (see #368843 (comment))
I planned on doing that in a rewrite of the updater, but seeing #377507, it would be useful right now
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-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.