Merge pull request #269889 from felschr/tor-mullvad-libgl-fix

{tor,mullvad}-browser: add missing libGL required for wayland
This commit is contained in:
Pierre Bourdon 2023-11-26 14:36:19 +01:00 committed by GitHub
commit fd44c780f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,7 @@
, waylandSupport ? stdenv.isLinux
, libxkbcommon
, libdrm
, libGL
, mediaSupport ? true
, ffmpeg
@ -82,7 +83,7 @@ let
stdenv.cc.libc
zlib
] ++ lib.optionals libnotifySupport [ libnotify ]
++ lib.optionals waylandSupport [ libxkbcommon libdrm ]
++ lib.optionals waylandSupport [ libxkbcommon libdrm libGL ]
++ lib.optionals pipewireSupport [ pipewire ]
++ lib.optionals pulseaudioSupport [ libpulseaudio ]
++ lib.optionals libvaSupport [ libva ]

View File

@ -31,6 +31,7 @@
, waylandSupport ? stdenv.isLinux
, libxkbcommon
, libdrm
, libGL
, audioSupport ? mediaSupport
@ -98,7 +99,7 @@ lib.warnIf (useHardenedMalloc != null)
stdenv.cc.libc
zlib
] ++ lib.optionals libnotifySupport [ libnotify ]
++ lib.optionals waylandSupport [ libxkbcommon libdrm ]
++ lib.optionals waylandSupport [ libxkbcommon libdrm libGL ]
++ lib.optionals pipewireSupport [ pipewire ]
++ lib.optionals pulseaudioSupport [ libpulseaudio ]
++ lib.optionals libvaSupport [ libva ]