fix?: remove yazi executable from path (recursion problem)
This commit is contained in:
@@ -30,7 +30,9 @@
|
||||
f system pkgs);
|
||||
in {
|
||||
packages = forAllSystems (system: pkgs: {
|
||||
neovim = pkgs.callPackage ./neovim.nix {inherit inputs;};
|
||||
neovim = pkgs.callPackage ./neovim.nix {
|
||||
go-grip = inputs.go-grip.packages.${system}.default;
|
||||
};
|
||||
default = self.packages.${system}.neovim;
|
||||
});
|
||||
|
||||
|
||||
@@ -200,6 +200,7 @@ return {
|
||||
{
|
||||
-- (Probably can be replaced by local functions in the config)
|
||||
"tfm.nvim",
|
||||
enabled = vim.fn.executable("yazi"),
|
||||
cmd = { "Ex", "Tfm", "TfmSplit", "TfmVsplit", "TfmTabedit" },
|
||||
keys = {
|
||||
{ "<leader>e", ":Tfm<cr>", desc = "[TFM] Open file manager" },
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
{
|
||||
inputs,
|
||||
symlinkJoin,
|
||||
makeWrapper,
|
||||
runCommandLocal,
|
||||
pkgs,
|
||||
lib,
|
||||
yazi ? pkgs.yazi,
|
||||
}: let
|
||||
...
|
||||
} @ args: let
|
||||
nvimPkg = pkgs.neovim-unwrapped;
|
||||
yaziPkg = yazi;
|
||||
|
||||
startPlugins = with pkgs;
|
||||
with vimPlugins; [
|
||||
@@ -102,8 +100,7 @@
|
||||
lf
|
||||
ripgrep
|
||||
|
||||
inputs.go-grip.packages.${pkgs.system}.default
|
||||
yaziPkg
|
||||
args.go-grip
|
||||
];
|
||||
|
||||
foldPlugins = builtins.foldl' (acc: next: acc ++ [next] ++ (foldPlugins (next.dependencies or []))) [];
|
||||
|
||||
Reference in New Issue
Block a user