podman-desktop: remove obsolete workaround
This was only needed before version 1.28.0.
This commit is contained in:
@@ -138,8 +138,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
wrapProgram "$out/Applications/${appName}.app/Contents/MacOS/${appName}" \
|
||||
${commonWrapperArgs}
|
||||
''
|
||||
# Enforce X11 to avoid the Wayland dashboard issue.
|
||||
# Revisit this once issue https://github.com/podman-desktop/podman-desktop/issues/14388 is resolved.
|
||||
+ lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||
mkdir -p "$out/share/lib/podman-desktop"
|
||||
cp -r dist/*-unpacked/{locales,resources{,.pak}} "$out/share/lib/podman-desktop"
|
||||
@@ -155,7 +153,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
makeWrapper '${electron}/bin/electron' "$out/bin/podman-desktop" \
|
||||
--add-flags "$out/share/lib/podman-desktop/resources/app.asar" \
|
||||
--set XDG_SESSION_TYPE 'x11' \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
|
||||
${commonWrapperArgs} \
|
||||
--inherit-argv0
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user