diff options
author | gileri <e+pgp9225@linuxw.info> | 2023-11-13 22:42:54 +0100 |
---|---|---|
committer | gileri <e+pgp9225@linuxw.info> | 2023-11-13 22:43:05 +0100 |
commit | b9f5606a55c23b49b005855a3ab8753b6ee14c7c (patch) | |
tree | 15b086a1121fbdc296c6f3d66dbf1cc09ba91d55 /pkgs/applications/networking/remote | |
parent | 5c6e85ee472d37c904dd43f8f76b680602b9128f (diff) |
rustdesk: Add libayatana-appindicator to rpath
To allow using --tray flag, used through tray-icon, libappindicator, libappindicator_sys transitive rust crates dependencies
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r-- | pkgs/applications/networking/remote/rustdesk/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/remote/rustdesk/default.nix b/pkgs/applications/networking/remote/rustdesk/default.nix index 2a06e3f9da56f..a4b7cf7ccb4af 100644 --- a/pkgs/applications/networking/remote/rustdesk/default.nix +++ b/pkgs/applications/networking/remote/rustdesk/default.nix @@ -11,6 +11,7 @@ , glib , gst_all_1 , gtk3 +, libayatana-appindicator , libgit2 , libpulseaudio , libsodium @@ -145,6 +146,10 @@ rustPlatform.buildRustPackage rec { install -Dm0644 $src/res/logo.svg $out/share/icons/hicolor/scalable/apps/rustdesk.svg ''; + postFixup = '' + patchelf --add-rpath "${libayatana-appindicator}/lib" "$out/lib/rustdesk/rustdesk" + ''; + env = { SODIUM_USE_PKG_CONFIG = true; ZSTD_SYS_USE_PKG_CONFIG = true; |