diff --git a/pkgs/by-name/gn/gnome-bluetooth_1_0/package.nix b/pkgs/by-name/gn/gnome-bluetooth_1_0/package.nix index 815252650fc7..722453d3cd2c 100644 --- a/pkgs/by-name/gn/gnome-bluetooth_1_0/package.nix +++ b/pkgs/by-name/gn/gnome-bluetooth_1_0/package.nix @@ -6,6 +6,7 @@ gnome, adwaita-icon-theme, meson, + mesonEmulatorHook, ninja, pkg-config, gtk3, @@ -51,20 +52,24 @@ stdenv.mkDerivation (finalAttrs: { }) ]; - nativeBuildInputs = [ - meson - ninja - gettext - itstool - pkg-config - libxml2 - wrapGAppsHook3 - gobject-introspection - gtk-doc - docbook-xsl-nons - docbook_xml_dtd_43 - python3 - ]; + nativeBuildInputs = + [ + meson + ninja + gettext + itstool + pkg-config + libxml2 + wrapGAppsHook3 + gobject-introspection + gtk-doc + docbook-xsl-nons + docbook_xml_dtd_43 + python3 + ] + ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook + ]; buildInputs = [ glib @@ -86,6 +91,8 @@ stdenv.mkDerivation (finalAttrs: { patchShebangs meson_post_install.py ''; + strictDeps = true; + passthru = { updateScript = gnome.updateScript { packageName = "gnome-bluetooth";