diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-10-13 20:39:39 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-10-13 20:39:39 +0300 |
commit | 8207b0e249513feffd163d4228de685530fc665b (patch) | |
tree | c3b9e26b0b4f49873b2fc70bfc7f3b4a8a65f8bb /modules/darwin/vim | |
parent | 2023-09-30 (diff) |
2023-10-13
Diffstat (limited to '')
-rw-r--r-- | modules/darwin/vim/default.nix | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/modules/darwin/vim/default.nix b/modules/darwin/vim/default.nix index 519f120..e0a6898 100644 --- a/modules/darwin/vim/default.nix +++ b/modules/darwin/vim/default.nix @@ -9,14 +9,19 @@ with lib; let in { config = mkIf cfg.enable { programs.vim.package = - (pkgs.macvim.overrideAttrs (_: final: { - # TODO https://github.com/NixOS/nixpkgs/pull/239842 - configureFlags = - final.configureFlags - ++ [ - "--disable-perlinterp" - "--disable-rubyinterp" - ]; + (pkgs.macvim.overrideAttrs (_: _: { + # Too much of a hassle to selectively override this. Let's just + # explicitly override everything. + configureFlags = [ + "--disable-luainterp" + "--disable-python3interp" + "--disable-sparkle" + "--enable-gui=macvim" + "--with-compiledby=Nix" + "--with-features=huge" + "--with-tlib=ncurses" + "--without-local-dir" + ]; })) .configure (with cfg; { customRC = rc; |