mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 00:40:43 +08:00
packages.dida: fix
This commit is contained in:
@@ -29,4 +29,10 @@
|
||||
substituteInPlace "$out/share/applications/dida.desktop" --replace "Exec=/opt/dida/dida" "Exec=$out/bin/dida"
|
||||
runHook postInstall
|
||||
'';
|
||||
preFixup =
|
||||
''
|
||||
gappsWrapperArgs+=(
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}"
|
||||
)
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user