git.iko.soy/typeable/nixpkgs
on master help sign in
vim_configurable: Add `wrapGAppsHook` for GTK 3 (#44645)

As suggested by @jtojnar in GitHub issue #44580, this patch adds the package `wrapGAppsHook` to the dependencies (specifically, the `nativeBuildInputs`) of `vim_configurable`, when `vim_configurable` is built against GTK 3. This change prevents GVim from crashing if one tries to use its file-choosing dialog, and fixes a warning that otherwise might be emitted if one tries to use its find/replace dialog.

commit6b486cf9472dd2e7f967ff5a9878648bc2175626 author8573 <8573@users.noreply.github.com> dateThu 9 Aug 2018, 02:11 (8 years ago) parentca79107
1 file changed+2
pkgs/applications/editors/vim/configurable.nix+2
pkgs/applications/editors/vim/configurable.nix+2
@@ -6,6 +6,7 @@ args@{ source ? "default", callPackage, fetchurl, stdenv, ncurses, pkgconfig, ge
66, libICE
77, vimPlugins
88, makeWrapper
9+, wrapGAppsHook
910
1011# apple frameworks
1112, CoreServices, CoreData, Cocoa, Foundation, libobjc, cf-private
@@ -122,6 +123,7 @@ in stdenv.mkDerivation rec {
122123 ++ stdenv.lib.optional wrapPythonDrv makeWrapper
123124 ++ stdenv.lib.optional nlsSupport gettext
124125 ++ stdenv.lib.optional perlSupport perl
126+ ++ stdenv.lib.optional (guiSupport == "gtk3") wrapGAppsHook
125127 ;
126128
127129 buildInputs = [ ncurses libX11 libXext libSM libXpm libXt libXaw libXau