i3status-rust: Add manpage to output (#439523)

This commit is contained in:
Sandro
2025-09-13 19:54:12 +00:00
committed by GitHub
@@ -4,6 +4,7 @@
fetchFromGitHub,
pkg-config,
makeWrapper,
installShellFiles,
dbus,
libpulseaudio,
notmuch,
@@ -12,6 +13,7 @@
lm_sensors,
iw,
iproute2,
pandoc,
pipewire,
withICUCalendar ? false,
withPipewire ? true,
@@ -34,6 +36,8 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [
pkg-config
makeWrapper
installShellFiles
pandoc
]
++ (lib.optionals withPipewire [ rustPlatform.bindgenHook ]);
@@ -59,9 +63,14 @@ rustPlatform.buildRustPackage rec {
--replace "/usr/share/i3status-rust" "$out/share"
'';
postBuild = ''
cargo xtask generate-manpage
'';
postInstall = ''
mkdir -p $out/share
cp -R examples files/* $out/share
installManPage man/*
'';
postFixup = ''