Merge pull request #162811 from JakDar/brave-wayland

This commit is contained in:
Artturi 2022-04-11 11:28:59 +03:00 committed by GitHub
commit 7bf08c6b29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,7 @@
, pango
, pipewire
, udev
, wayland
, xorg
, zlib
, xdg-utils
@ -82,6 +83,7 @@ rpath = lib.makeLibraryPath [
pango
pipewire
udev
wayland
xdg-utils
xorg.libxcb
zlib
@ -160,6 +162,7 @@ stdenv.mkDerivation rec {
preFixup = ''
# Add command line args to wrapGApp.
gappsWrapperArgs+=(--add-flags ${lib.escapeShellArg commandLineArgs})
gappsWrapperArgs+=(--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}")
'';
installCheckPhase = ''