vscode: fixing libdbusmenu on kde

This commit is contained in:
paki23
2024-06-04 21:34:10 +02:00
parent 840914c324
commit d40141c727
@@ -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}}"