From 38cdba16de8e160b94248b93e1cc10b3d76e6c8a Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 22 Sep 2023 10:10:38 -0400 Subject: [PATCH] gedit: fix cross compilation by adding mesonEmulatorHook --- pkgs/applications/editors/gedit/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/gedit/default.nix b/pkgs/applications/editors/gedit/default.nix index 4352b74f964d..a7f1fd135fd6 100644 --- a/pkgs/applications/editors/gedit/default.nix +++ b/pkgs/applications/editors/gedit/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , meson +, mesonEmulatorHook , fetchurl , python3 , pkg-config @@ -58,6 +59,8 @@ stdenv.mkDerivation rec { gtk-doc gobject-introspection docbook-xsl-nons + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook ]; buildInputs = [