fix checks

This commit is contained in:
Daniel Winkler 2026-01-30 16:43:10 +11:00
commit a142394bc8

View file

@ -108,11 +108,11 @@
default = nixpkgs.lib.composeManyExtensions [ default = nixpkgs.lib.composeManyExtensions [
dependencyOverlay dependencyOverlay
(final: prev: { (final: prev: {
n = wrapper.config.wrap {pkgs = final;}; vv = wrapper.config.wrap {pkgs = final;};
}) })
]; ];
dependencies = dependencyOverlay; dependencies = dependencyOverlay;
n = self.overlays.default; vv = self.overlays.default;
}; };
wrapperModules = { wrapperModules = {
@ -131,7 +131,7 @@
nvimPkg = wrapperSettings pkgs; nvimPkg = wrapperSettings pkgs;
in { in {
default = nvimPkg; default = nvimPkg;
n = nvimPkg; vv = nvimPkg;
vim = nvimPkg; vim = nvimPkg;
nvim = nvimPkg; nvim = nvimPkg;
} }
@ -171,8 +171,8 @@
pkgs.runCommand "check-module-eval" {} '' pkgs.runCommand "check-module-eval" {} ''
echo "Module evaluation successful" > $out echo "Module evaluation successful" > $out
''; '';
package-build = pkgs.runCommand "check-n" {} '' package-build = pkgs.runCommand "check-vv" {} ''
BINARY_PATH="${nvimPkg}/bin/n" BINARY_PATH="${nvimPkg}/bin/vv"
if [ ! -x "$BINARY_PATH" ]; then if [ ! -x "$BINARY_PATH" ]; then
echo "Error: Binary n not found or not executable" echo "Error: Binary n not found or not executable"