Skip to content

Commit

Permalink
build(nix): use luaAttr
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Oct 7, 2024
1 parent df23ea0 commit d1f5667
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions nix/plugin-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,25 @@
lua5_1 = prev.lua5_1.override {
packageOverrides = rustaceanvim-luaPackage-override;
};
luajit = prev.luajit.override {
packageOverrides = rustaceanvim-luaPackage-override;
};

lua51Packages = final.lua5_1.pkgs;
luajitPackages = final.luajit.pkgs;
in {
inherit
lua5_1
lua51Packages
luajit
luajitPackages
;

vimPlugins =
prev.vimPlugins
// {
rustaceanvim = final.neovimUtils.buildNeovimPlugin {
pname = name;
version = "scm-1";
src = self;
luaAttr = final.luajitPackages.rustaceanvim;
};
};

Expand Down
1 change: 1 addition & 0 deletions result

0 comments on commit d1f5667

Please sign in to comment.