Nvim : Fix nixos build.

This commit is contained in:
Dmitry Voronin 2024-03-24 07:36:02 +03:00
parent 222d81c4be
commit 1eea96f31b
3 changed files with 3 additions and 5 deletions

View file

@ -20,7 +20,7 @@
bottles dxvk gamescope mangohud vkd3d wine64 bottles dxvk gamescope mangohud vkd3d wine64
calibre calibre
gimp gimp
godot gdtoolkit godot_4 gdtoolkit
gradience gradience
jellyfin-media-player jellyfin-media-player
mpv mpv

View file

@ -36,7 +36,7 @@ in {
enable = true; enable = true;
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
extraConfig = (import ./common/Nvim.nix { inputs = inputs; }).customRc; # extraConfig = (import ./common/Nvim.nix { inputs = inputs; }).customRc;
}; };
}; };

View file

@ -1,4 +1,4 @@
{ inputs, ... }: let { inputs, lib, ... }: let
nvimRc = { cfgPath, runtimes, cfgs }: let nvimRc = { cfgPath, runtimes, cfgs }: let
runtimeRc = builtins.foldl' (acc: r: runtimeRc = builtins.foldl' (acc: r:
acc + "set runtimepath+=${r}\n" acc + "set runtimepath+=${r}\n"
@ -81,8 +81,6 @@
]; ];
}; };
in { in {
inherit customRc;
environment = { environment = {
variables = { variables = {
EDITOR = "nvim"; EDITOR = "nvim";