vscode: fixing libdbusmenu on kde

This commit is contained in:
paki23 2023-01-14 00:15:20 +01:00
parent 840914c324
commit d40141c727
No known key found for this signature in database
GPG Key ID: 13160FFB4CEB03F2

View File

@ -206,6 +206,9 @@ in
preFixup = ''
gappsWrapperArgs+=(
${ # we cannot use runtimeDependencies otherwise libdbusmenu do not work on kde
lib.optionalString stdenv.isLinux
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libdbusmenu ]}"}
# Add gio to PATH so that moving files to the trash works when not using a desktop environment
--prefix PATH : ${glib.bin}/bin
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"