From d40141c7274083797d679fa44c102dd4bf172461 Mon Sep 17 00:00:00 2001 From: paki23 Date: Sat, 14 Jan 2023 00:15:20 +0100 Subject: [PATCH] vscode: fixing libdbusmenu on kde --- pkgs/applications/editors/vscode/generic.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix index 5ed75a0ce32e1..7b320000d4dd1 100644 --- a/pkgs/applications/editors/vscode/generic.nix +++ b/pkgs/applications/editors/vscode/generic.nix @@ -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}}"