lol

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

authored by

Sandro and committed by
GitHub
f0667dc5 32bfa80c

+9
+9
pkgs/by-name/i3/i3status-rust/package.nix
··· 4 fetchFromGitHub, 5 pkg-config, 6 makeWrapper, 7 dbus, 8 libpulseaudio, 9 notmuch, ··· 12 lm_sensors, 13 iw, 14 iproute2, 15 pipewire, 16 withICUCalendar ? false, 17 withPipewire ? true, ··· 34 nativeBuildInputs = [ 35 pkg-config 36 makeWrapper 37 ] 38 ++ (lib.optionals withPipewire [ rustPlatform.bindgenHook ]); 39 ··· 59 --replace "/usr/share/i3status-rust" "$out/share" 60 ''; 61 62 postInstall = '' 63 mkdir -p $out/share 64 cp -R examples files/* $out/share 65 ''; 66 67 postFixup = ''
··· 4 fetchFromGitHub, 5 pkg-config, 6 makeWrapper, 7 + installShellFiles, 8 dbus, 9 libpulseaudio, 10 notmuch, ··· 13 lm_sensors, 14 iw, 15 iproute2, 16 + pandoc, 17 pipewire, 18 withICUCalendar ? false, 19 withPipewire ? true, ··· 36 nativeBuildInputs = [ 37 pkg-config 38 makeWrapper 39 + installShellFiles 40 + pandoc 41 ] 42 ++ (lib.optionals withPipewire [ rustPlatform.bindgenHook ]); 43 ··· 63 --replace "/usr/share/i3status-rust" "$out/share" 64 ''; 65 66 + postBuild = '' 67 + cargo xtask generate-manpage 68 + ''; 69 + 70 postInstall = '' 71 mkdir -p $out/share 72 cp -R examples files/* $out/share 73 + installManPage man/* 74 ''; 75 76 postFixup = ''