vim_configurable: use gtk3 on darwin
This commit is contained in:
parent
e2ef327652
commit
cfc3d7c918
2 changed files with 7 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
, features ? "huge" # One of tiny, small, normal, big or huge
|
||||
, wrapPythonDrv ? false
|
||||
, guiSupport ? config.vim.gui or "auto"
|
||||
, guiSupport ? config.vim.gui or "gtk3"
|
||||
, luaSupport ? config.vim.lua or true
|
||||
, perlSupport ? config.vim.perl or false # Perl interpreter
|
||||
, pythonSupport ? config.vim.python or true # Python interpreter
|
||||
|
|
|
@ -9682,6 +9682,11 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa;
|
||||
};
|
||||
|
||||
# On darwin gtk uses cocoa by default instead of x11.
|
||||
gtk3-x11 = gtk3.override {
|
||||
x11Support = true;
|
||||
};
|
||||
|
||||
gtkmm2 = callPackage ../development/libraries/gtkmm/2.x.nix { };
|
||||
gtkmm3 = callPackage ../development/libraries/gtkmm/3.x.nix { };
|
||||
|
||||
|
@ -18837,7 +18842,7 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) CoreServices Cocoa Foundation CoreData;
|
||||
inherit (darwin) libobjc cf-private;
|
||||
gtk2 = if stdenv.isDarwin then gtk2-x11 else gtk2;
|
||||
guiSupport = if stdenv.isDarwin then "gtk2" else "gtk3";
|
||||
gtk3 = if stdenv.isDarwin then gtk3-x11 else gtk3;
|
||||
});
|
||||
|
||||
qpdfview = libsForQt5.callPackage ../applications/misc/qpdfview {};
|
||||
|
|
Loading…
Reference in a new issue