From becc715b8978f9fdf973da30637bbc5fc871fcf4 Mon Sep 17 00:00:00 2001 From: Evils Date: Thu, 20 May 2021 09:17:57 +0200 Subject: [PATCH] element-desktop: set dbus default for firefox fixes opening links in firefox-wayland on wayland --- .../networking/instant-messengers/element/element-desktop.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix index ea152fc22e6..8c51750ad43 100644 --- a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix +++ b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix @@ -45,7 +45,8 @@ in mkYarnPackage rec { # executable wrapper makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \ - --add-flags "$out/share/element/electron" + --add-flags "$out/share/element/electron" \ + --set-default MOZ_DBUS_REMOTE 1 ''; # Do not attempt generating a tarball for element-web again.