Merge pull request #210593 from pasqui23/vscode-fix

vscode: fix libdbusmenu on kde
This commit is contained in:
Pol Dellaiera 2024-07-31 23:49:07 +02:00 committed by GitHub
commit b1adf59afb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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}}"