Fix build errors on 24.05 without web-devicons

This commit is contained in:
Greg Hellings
2024-10-04 10:06:58 -05:00
parent c12ed1b8a9
commit 81f534dd46
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
let
vim-xonsh = pkgs.vimUtils.buildVimPlugin {
name = "vim-xonsh";
@@ -125,8 +125,9 @@ in
};
neo-tree.enable = true;
notify.enable = true;
} // (if (lib.versionAtLeast lib.version "24.11") then {
web-devicons.enable = true;
};
} else { });
extraConfigLua = builtins.replaceStrings [ "@git@" ] [ "${pkgs.git}/bin/git" ] (builtins.readFile ./extra.lua);
extraConfigVim = builtins.readFile ./extra.vimrc;
extraPlugins = with pkgs.vimPlugins; [