Unverified Commit 6bae009b authored by hotburger's avatar hotburger
Browse files

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

parent 1eadfd16
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 = {