mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #301283 from lilyinstarlight/fix/mattermost-desktop-stuff
mattermost-desktop: support NIXOS_OZONE_WL and fix sso login redirects
This commit is contained in:
commit
8a708d697a
@ -53,7 +53,9 @@ stdenv.mkDerivation {
|
||||
--replace /share/mattermost-desktop/mattermost-desktop /bin/mattermost-desktop
|
||||
|
||||
makeWrapper '${lib.getExe electron_28}' $out/bin/${pname} \
|
||||
--add-flags $out/share/${pname}/app.asar
|
||||
--set-default ELECTRON_IS_DEV 0 \
|
||||
--add-flags $out/share/${pname}/app.asar \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user