diff options
author | Topi <17724308+prTopi@users.noreply.github.com> | 2024-01-21 16:02:17 +0200 |
---|---|---|
committer | Topi <17724308+prTopi@users.noreply.github.com> | 2024-02-09 10:08:47 +0200 |
commit | a66a98401112ddc12690dbbba6b7544313215f2c (patch) | |
tree | bbeea000396ec8ffd05a16bfd86c20eeb541d45e | |
parent | 830a7417cc84bf167796ebeca37be5a9e88f19b9 (diff) |
freetube: make compatible with NIXOS_OZONE_WL
-rw-r--r-- | pkgs/applications/video/freetube/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/video/freetube/default.nix b/pkgs/applications/video/freetube/default.nix index b5a8221b7fdfc..ef41f49d7a0f2 100644 --- a/pkgs/applications/video/freetube/default.nix +++ b/pkgs/applications/video/freetube/default.nix @@ -39,7 +39,8 @@ stdenv.mkDerivation rec { postFixup = '' makeWrapper ${electron}/bin/electron $out/bin/${pname} \ - --add-flags $out/share/${pname}/resources/app.asar + --add-flags $out/share/${pname}/resources/app.asar \ + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}" ''; meta = with lib; { |