Skip to content

Commit

Permalink
Merge pull request #210593 from pasqui23/vscode-fix
Browse files Browse the repository at this point in the history
vscode: fix libdbusmenu on kde
  • Loading branch information
drupol authored Jul 31, 2024
2 parents 7d2dc71 + d40141c commit b1adf59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/applications/editors/vscode/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down

0 comments on commit b1adf59

Please sign in to comment.