fix: added overlay for lualine-nvim
All checks were successful
ci / nix-fmt (push) Successful in 1m33s
All checks were successful
ci / nix-fmt (push) Successful in 1m33s
This commit is contained in:
parent
72b0111237
commit
87c04d870d
2 changed files with 26 additions and 1 deletions
|
|
@ -27,7 +27,12 @@
|
|||
};
|
||||
treefmtEval = treefmt-nix.lib.evalModule pkgs (treefmtConfig {inherit pkgs;});
|
||||
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
(import ./overlays/lualine-nvim.nix)
|
||||
];
|
||||
};
|
||||
mergedLib = pkgs.lib.extend (final: prev: {${namespace} = import ./lib {lib = pkgs.lib;};});
|
||||
|
||||
nixvimLib = nixvim.lib.${system};
|
||||
|
|
|
|||
20
overlays/lualine-nvim.nix
Normal file
20
overlays/lualine-nvim.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
final: prev: {
|
||||
vimPlugins =
|
||||
prev.vimPlugins
|
||||
// {
|
||||
lualine-nvim = prev.neovimUtils.buildNeovimPlugin {
|
||||
luaAttr = prev.luaPackages.lualine-nvim.overrideAttrs {
|
||||
knownRockspec = prev.fetchurl {
|
||||
url = "mirror://luarocks/lualine.nvim-scm-1.rockspec";
|
||||
sha256 = "sha256-+ru34zasfJCJOS0z38RnqE2wMGeLfw2GIB/guy1RmAU=";
|
||||
};
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "nvim-lualine";
|
||||
repo = "lualine.nvim";
|
||||
rev = "47f91c416daef12db467145e16bed5bbfe00add8";
|
||||
hash = "sha256-OpLZH+sL5cj2rcP5/T+jDOnuxd1QWLHCt2RzloffZOA=";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue