vimPlugins.bitbake: move back to generated.nix

It was moved to non-generated, because "updater can't handle sub
directories". Added a `sourceRoot` override to `overrides.nix` and the
plugin builds.
This commit is contained in:
Perchun Pak
2026-04-09 15:16:32 +02:00
parent 99d1e7002b
commit a36a063a04
5 changed files with 22 additions and 21 deletions
@@ -83,6 +83,10 @@
"date": "2026-02-04",
"new": "bats-vim"
},
"bitbake-vim": {
"date": "2026-04-09",
"new": "bitbake"
},
"calendar": {
"date": "2026-02-04",
"new": "calendar-vim"
@@ -1582,6 +1582,19 @@ final: prev: {
meta.hydraPlatforms = [ ];
};
bitbake = buildVimPlugin {
pname = "bitbake";
version = "2.12.0-unstable-2026-04-08";
src = fetchFromGitHub {
owner = "openembedded";
repo = "bitbake";
rev = "5d722b5d65e4eef7befe6376983385421e993f86";
hash = "sha256-nOnNIXRUxsYNaEBhWuzCMTg37C9/S4ekxNbCpvBe+TU=";
};
meta.homepage = "https://github.com/openembedded/bitbake/";
meta.hydraPlatforms = [ ];
};
blame-nvim = buildVimPlugin {
pname = "blame.nvim";
version = "0-unstable-2026-02-12";
@@ -1,21 +0,0 @@
{
vimUtils,
fetchFromGitHub,
}:
vimUtils.buildVimPlugin rec {
pname = "bitbake-vim";
version = "2.10.4";
# The tags are very messy on the upstream repo. We prefer disabling automatic updates for this plugin.
# nixpkgs-update: no auto update
src = fetchFromGitHub {
owner = "openembedded";
repo = "bitbake";
tag = version;
hash = "sha256-gdxPnRhd4Hj1PWgCU5A/+639ndJXlkdArOBZt6eiZWA=";
};
sourceRoot = "source/contrib/vim";
meta.homepage = "https://github.com/openembedded/bitbake/";
}
@@ -304,6 +304,10 @@ assertNoAdditions {
];
};
bitbake = super.bitbake.overrideAttrs {
sourceRoot = "source/contrib/vim";
};
blink-cmp-conventional-commits = super.blink-cmp-conventional-commits.overrideAttrs {
dependencies = [ self.blink-cmp ];
};
@@ -120,6 +120,7 @@ https://github.com/rbgrouleff/bclose.vim/,,
https://github.com/sontungexpt/better-diagnostic-virtual-text/,HEAD,
https://github.com/max397574/better-escape.nvim/,,
https://github.com/LunarVim/bigfile.nvim/,,
https://github.com/openembedded/bitbake/,HEAD,
https://github.com/FabijanZulj/blame.nvim/,HEAD,
https://github.com/APZelos/blamer.nvim/,HEAD,
https://github.com/Kaiser-Yang/blink-cmp-avante/,HEAD,