fix swhkd pkg

This commit is contained in:
EdenQwQ 2025-03-06 08:02:21 +08:00
parent 5bac92ad0b
commit 225f2c1b32
2 changed files with 9 additions and 0 deletions

View file

@ -7,6 +7,8 @@ let
fetchFromGitHub
makeWrapper
pkg-config
systemd
libgcc
;
};
in

View file

@ -4,6 +4,8 @@
fetchFromGitHub,
makeWrapper,
pkg-config,
systemd,
libgcc,
}:
rustPlatform.buildRustPackage {
pname = "swhkd";
@ -34,6 +36,11 @@ rustPlatform.buildRustPackage {
"$out/bin/swhkd"
'';
buildInputs = [
systemd
libgcc
];
meta = with lib; {
description = "A drop-in replacement for sxhkd that works with wayland";
homepage = "https://github.com/waycrate/swhkd";