summary refs log tree commit diff
path: root/pkgs/applications
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
parent7545ccb7ac82b5dd7e84424d057b3284dc0eb7c4 (diff)
downloadnixpkgs-43ff2ab350b55f15a5227bb93431c151908938b4.tar
nixpkgs-43ff2ab350b55f15a5227bb93431c151908938b4.tar.gz
nixpkgs-43ff2ab350b55f15a5227bb93431c151908938b4.tar.bz2
nixpkgs-43ff2ab350b55f15a5227bb93431c151908938b4.tar.lz
nixpkgs-43ff2ab350b55f15a5227bb93431c151908938b4.tar.xz
nixpkgs-43ff2ab350b55f15a5227bb93431c151908938b4.tar.zst
nixpkgs-43ff2ab350b55f15a5227bb93431c151908938b4.zip
vim_configurable: fix default gui for darwin
Diffstat (limited to 'pkgs/applications')
-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 bb3d571e6f8..3b37c805cdd 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