summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/vim
diff options
context:
space:
mode:
authorJason Miller <mailings-github@millerjason.com>2020-03-08 04:29:00 -0400
committerJason Miller <mailings-github@millerjason.com>2020-03-19 21:08:51 -0400
commit43ff2ab350b55f15a5227bb93431c151908938b4 (patch)
treed328cc6d07b4b26745abec04afd531be6ed13378 /pkgs/applications/editors/vim
parent7545ccb7ac82b5dd7e84424d057b3284dc0eb7c4 (diff)
vim_configurable: fix default gui for darwin
Diffstat (limited to 'pkgs/applications/editors/vim')
-rw-r--r--pkgs/applications/editors/vim/configurable.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix
index bb3d571e6f86..3b37c805cdd7 100644
--- a/pkgs/applications/editors/vim/configurable.nix
+++ b/pkgs/applications/editors/vim/configurable.nix
@@ -14,7 +14,7 @@
, features ? "huge" # One of tiny, small, normal, big or huge
, wrapPythonDrv ? false
-, guiSupport ? config.vim.gui or "gtk3"
+, guiSupport ? config.vim.gui or (if stdenv.isDarwin then "gtk2" else "gtk3")
, luaSupport ? config.vim.lua or true
, perlSupport ? config.vim.perl or false # Perl interpreter
, pythonSupport ? config.vim.python or true # Python interpreter