Merge pull request #284160 from jmbaur/wlgreet-fixes

greetd.wlgreet: add required libraries to runpath
This commit is contained in:
kirillrdy 2024-04-22 08:25:08 +10:00 committed by GitHub
commit 93f6627a79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 0 deletions

View File

@ -1,6 +1,10 @@
{ lib
, rustPlatform
, fetchFromSourcehut
, autoPatchelfHook
, gcc-unwrapped
, wayland
, libxkbcommon
}:
rustPlatform.buildRustPackage rec {
@ -16,6 +20,15 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-1ugExUtrzqyd9dTlBHcc44UrtEfYrfUryuG79IkTv2Y=";
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ gcc-unwrapped ];
runtimeDependencies = map lib.getLib [
gcc-unwrapped
wayland
libxkbcommon
];
meta = with lib; {
description = "Raw wayland greeter for greetd, to be run under sway or similar";
mainProgram = "wlgreet";