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.
This commit is contained in:
parent
ca79107a79
commit
6b486cf947
@ -6,6 +6,7 @@ args@{ source ? "default", callPackage, fetchurl, stdenv, ncurses, pkgconfig, ge
|
|||||||
, libICE
|
, libICE
|
||||||
, vimPlugins
|
, vimPlugins
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, wrapGAppsHook
|
||||||
|
|
||||||
# apple frameworks
|
# apple frameworks
|
||||||
, CoreServices, CoreData, Cocoa, Foundation, libobjc, cf-private
|
, CoreServices, CoreData, Cocoa, Foundation, libobjc, cf-private
|
||||||
@ -122,6 +123,7 @@ in stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optional wrapPythonDrv makeWrapper
|
++ stdenv.lib.optional wrapPythonDrv makeWrapper
|
||||||
++ stdenv.lib.optional nlsSupport gettext
|
++ stdenv.lib.optional nlsSupport gettext
|
||||||
++ stdenv.lib.optional perlSupport perl
|
++ stdenv.lib.optional perlSupport perl
|
||||||
|
++ stdenv.lib.optional (guiSupport == "gtk3") wrapGAppsHook
|
||||||
;
|
;
|
||||||
|
|
||||||
buildInputs = [ ncurses libX11 libXext libSM libXpm libXt libXaw libXau
|
buildInputs = [ ncurses libX11 libXext libSM libXpm libXt libXaw libXau
|
||||||
|
Loading…
Reference in New Issue
Block a user