diff options
author | éclairevoyant <848000+eclairevoyant@users.noreply.github.com> | 2023-10-20 12:59:46 -0400 |
---|---|---|
committer | éclairevoyant <848000+eclairevoyant@users.noreply.github.com> | 2023-10-20 12:59:46 -0400 |
commit | 95cd49c3b342a6f008976ebc3ec121da241f5631 (patch) | |
tree | 118506b9a2869716ed477b2c0f155bc70ef1b67e /pkgs/applications/networking/instant-messengers/webcord | |
parent | 46da009c99f44379f53e76b1a0da5d8f4715f4f1 (diff) |
webcord: lock ozone wayland behind NIXOS_OZONE_WL envvar
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/webcord')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/webcord/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/webcord/default.nix b/pkgs/applications/networking/instant-messengers/webcord/default.nix index b410cfdea3389..d0cdfd735393d 100644 --- a/pkgs/applications/networking/instant-messengers/webcord/default.nix +++ b/pkgs/applications/networking/instant-messengers/webcord/default.nix @@ -62,7 +62,7 @@ buildNpmPackage rec { makeWrapper '${lib.getExe electron_27}' $out/bin/webcord \ --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/webcord \ --suffix PATH : "${binPath}" \ - --add-flags "--ozone-platform-hint=auto" \ + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ --add-flags $out/lib/node_modules/webcord/ runHook postInstall |