xdg-desktop-portal-luminous: add wayland to rpath

This commit is contained in:
hotburger
2026-01-06 11:56:31 -08:00
parent 1eadfd16c5
commit 6bae009b68
@@ -16,6 +16,7 @@
libxkbcommon,
glib,
pipewire,
wayland,
nix-update-script,
}:
@@ -56,6 +57,13 @@ stdenv.mkDerivation (finalAttrs: {
libxkbcommon
];
postInstall = ''
patchelf \
--add-needed libwayland-client.so.0 \
--add-rpath ${lib.makeLibraryPath [ wayland ]} \
$out/libexec/xdg-desktop-portal-luminous
'';
passthru.updateScript = nix-update-script { };
meta = {