xdg-desktop-portal-luminous: add wayland to rpath
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user