Merge pull request #286581 from m-bdf/fix-github-desktop-on-wayland
github-desktop: fix on wayland
This commit is contained in:
commit
9d015181a2
@ -17,6 +17,7 @@
|
|||||||
, mesa
|
, mesa
|
||||||
, systemd
|
, systemd
|
||||||
, openssl
|
, openssl
|
||||||
|
, libglvnd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -82,6 +83,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
|
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
|
||||||
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libglvnd ]}
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user