Skip to content

Commit

Permalink
refactor: remove meta.mainProgram & flip env attrset
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Mar 12, 2024
1 parent a7f349f commit c2f93fd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@
name = "nvim";
runtimeInputs = cfg.paths;
runtimeEnv =
{
(cfg.env or {})
// {
NVIM_RPLUGIN_MANIFEST = "${config.neovim.build.rplugin}/rplugin.vim";
}
// (cfg.env or {});
meta.mainProgram = "nvim";
};
text = ''
${cfg.package}/bin/nvim -u ${cfg.build.initlua} "$@"
'';
Expand Down

0 comments on commit c2f93fd

Please sign in to comment.