From 42e2af66c49043fa1098cd5d7c41022c647feda2 Mon Sep 17 00:00:00 2001 From: Tad Fisher Date: Fri, 31 Mar 2023 12:51:43 -0700 Subject: [PATCH] emacs: include wrapGAppsHook for pgtk build --- pkgs/applications/editors/emacs/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index cd68f0dbf5f3..156606c60344 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -136,7 +136,7 @@ let emacs = (if withMacport then llvmPackages_6.stdenv else stdenv).mkDerivation nativeBuildInputs = [ pkg-config makeWrapper ] ++ lib.optionals (srcRepo || withMacport) [ texinfo ] ++ lib.optionals srcRepo [ autoreconfHook ] - ++ lib.optional (withX && (withGTK3 || withXwidgets)) wrapGAppsHook; + ++ lib.optional (withPgtk || withX && (withGTK3 || withXwidgets)) wrapGAppsHook; buildInputs = [ ncurses gconf libxml2 gnutls gettext jansson harfbuzz.dev ]