Merge pull request #286581 from m-bdf/fix-github-desktop-on-wayland

github-desktop: fix on wayland
This commit is contained in:
kirillrdy
2024-05-23 06:32:17 +10:00
committed by GitHub
@@ -17,6 +17,7 @@
, mesa
, systemd
, openssl
, libglvnd
}:
let
@@ -82,6 +83,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
preFixup = ''
gappsWrapperArgs+=(
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libglvnd ]}
)
'';