Unverified Commit 9d015181 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

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

github-desktop: fix on wayland
parents 7cf614ce 7e6dd121
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 ]}
    )
  '';