Skip to content

Commit 948ccfb

Browse files
author
jghauser
committed
ci: properly create luaPackage based nvim plugin
1 parent 1fd7833 commit 948ccfb

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
packages = rec {
8181
default = papis-nvim;
82-
inherit (pkgs.luajitPackages) papis-nvim;
82+
inherit (pkgs.vimPlugins) papis-nvim;
8383
inherit (pkgs) neovim-with-plugin;
8484
};
8585

nix/ci-overlay.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ let
77
neovimConfig = final.neovimUtils.makeNeovimConfig {
88
withPython3 = false;
99
viAlias = true;
10-
extraLuaPackages = luaPkgs: [
11-
luaPkgs.papis-nvim
12-
];
1310
vimAlias = true;
1411
plugins = with final.vimPlugins; [
12+
papis-nvim
13+
1514
# Completion engines
1615
nvim-cmp
1716
blink-cmp

nix/plugin-overlay.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ in
4646

4747
vimPlugins = prev.vimPlugins // {
4848
papis-nvim = final.neovimUtils.buildNeovimPlugin {
49-
pname = name;
50-
src = self;
51-
version = "dev";
49+
luaAttr = luajitPackages.papis-nvim;
5250
};
5351
};
5452
}

0 commit comments

Comments
 (0)