picom-allusive: install manpage

This commit is contained in:
éclairevoyant 2023-10-16 20:32:33 -04:00
parent 2dc99487ca
commit 496319a38c
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B

View File

@ -1,4 +1,4 @@
{ picom, lib, fetchFromGitHub }: { picom, lib, fetchFromGitHub, installShellFiles }:
picom.overrideAttrs (oldAttrs: rec { picom.overrideAttrs (oldAttrs: rec {
pname = "picom-allusive"; pname = "picom-allusive";
@ -11,8 +11,11 @@ picom.overrideAttrs (oldAttrs: rec {
hash = "sha256-1zWntz2QKp/O9ZuOUZy9NkCNXFsBqRRvcd0SAr+7G/o="; hash = "sha256-1zWntz2QKp/O9ZuOUZy9NkCNXFsBqRRvcd0SAr+7G/o=";
}; };
nativeBuildInputs = [ installShellFiles ] ++ oldAttrs.nativeBuildInputs;
postInstall = '' postInstall = ''
chmod +x $out/bin/picom-trans chmod +x $out/bin/picom-trans
installManPage $src/man/picom.1.gz
'' + (lib.optionalString (oldAttrs ? postInstall) oldAttrs.postInstall); '' + (lib.optionalString (oldAttrs ? postInstall) oldAttrs.postInstall);
meta = { meta = {