signal-desktop: use rpath instead of LD_LIBRARY_PATH

for runtime dependencies
This commit is contained in:
teutat3s 2024-04-21 19:15:22 +02:00 committed by Bjørn Forsman
parent 3433658c7d
commit 867e97bdcf
1 changed files with 2 additions and 1 deletions

View File

@ -120,6 +120,8 @@ in stdenv.mkDerivation rec {
libappindicator-gtk3
libnotify
libdbusmenu
pipewire
stdenv.cc.cc
xdg-utils
wayland
];
@ -158,7 +160,6 @@ in stdenv.mkDerivation rec {
preFixup = ''
gappsWrapperArgs+=(
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc pipewire ] }"
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
)