diff options
author | Yuka <yuka@yuka.dev> | 2022-04-25 23:53:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 23:53:42 +0200 |
commit | 7f4a8f37d4621b27fc0c4eeb3880ecf1cb055371 (patch) | |
tree | 00df46abc379ff88c37724ea59a4986720d8f3fe | |
parent | 9f26ab61e5e36bd85e79d8d39d5ac4bdc07a9ac0 (diff) | |
download | nixpkgs-7f4a8f37d4621b27fc0c4eeb3880ecf1cb055371.tar nixpkgs-7f4a8f37d4621b27fc0c4eeb3880ecf1cb055371.tar.gz nixpkgs-7f4a8f37d4621b27fc0c4eeb3880ecf1cb055371.tar.bz2 nixpkgs-7f4a8f37d4621b27fc0c4eeb3880ecf1cb055371.tar.lz nixpkgs-7f4a8f37d4621b27fc0c4eeb3880ecf1cb055371.tar.xz nixpkgs-7f4a8f37d4621b27fc0c4eeb3880ecf1cb055371.tar.zst nixpkgs-7f4a8f37d4621b27fc0c4eeb3880ecf1cb055371.zip |
jitsi-meet-electron: respect NIXOS_OZONE_WL (#170304)
-rw-r--r-- | pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix b/pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix index 2395a196f60..7dce1fd069d 100644 --- a/pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix +++ b/pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix @@ -46,7 +46,8 @@ stdenv.mkDerivation rec { postFixup = '' makeWrapper ${electron}/bin/electron $out/bin/${pname} \ --add-flags $out/share/${pname}/resources/app.asar \ - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc xorg.libXtst pipewire ]}" + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc xorg.libXtst pipewire ]}" \ + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}" ''; meta = with lib; { |