mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
rustdesk: Add libayatana-appindicator to rpath
To allow using --tray flag, used through tray-icon, libappindicator, libappindicator_sys transitive rust crates dependencies
This commit is contained in:
parent
5c6e85ee47
commit
b9f5606a55
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user