Merge pull request #282597 from prTopi/freetube-ozone-patch
freetube: make compatible with NIXOS_OZONE_WL
This commit is contained in:
commit
d035354673
2 changed files with 4 additions and 1 deletions
|
@ -23,6 +23,8 @@ let
|
|||
inherit name;
|
||||
nodes = { "${name}" = machine; };
|
||||
meta.maintainers = with pkgs.lib.maintainers; [ kirillrdy ];
|
||||
# time-out on ofborg
|
||||
meta.broken = pkgs.stdenv.isAarch64;
|
||||
enableOCR = true;
|
||||
|
||||
testScript = ''
|
||||
|
|
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue