diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-10-18 21:19:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 21:19:22 +0200 |
commit | 31267d61a6974c751e7d5778452ea5542371a393 (patch) | |
tree | c0aa8a36bb47aec2d16b0e23ab58ea9d9ac36e14 | |
parent | edad0ccbccfd8c94b017abbcdf4a08fd91d608b6 (diff) | |
parent | c3c0fe45e2e571fae8a8158cbd0d2b5aaccc4113 (diff) |
Merge pull request #261530 from eclairevoyant/picom-allusive
picom-allusive: install manpage, fix meta
-rw-r--r-- | pkgs/applications/window-managers/picom/picom-allusive.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/window-managers/picom/picom-allusive.nix b/pkgs/applications/window-managers/picom/picom-allusive.nix index a30efaab570f5..eb31dd9ccdff3 100644 --- a/pkgs/applications/window-managers/picom/picom-allusive.nix +++ b/pkgs/applications/window-managers/picom/picom-allusive.nix @@ -1,4 +1,4 @@ -{ picom, lib, fetchFromGitHub }: +{ picom, lib, fetchFromGitHub, installShellFiles }: picom.overrideAttrs (oldAttrs: rec { pname = "picom-allusive"; @@ -11,11 +11,14 @@ picom.overrideAttrs (oldAttrs: rec { hash = "sha256-1zWntz2QKp/O9ZuOUZy9NkCNXFsBqRRvcd0SAr+7G/o="; }; + nativeBuildInputs = [ installShellFiles ] ++ oldAttrs.nativeBuildInputs; + postInstall = '' chmod +x $out/bin/picom-trans + installManPage $src/man/picom.1.gz '' + (lib.optionalString (oldAttrs ? postInstall) oldAttrs.postInstall); - meta = { + meta = (builtins.removeAttrs oldAttrs.meta [ "longDescription" ]) // { description = "A fork of picom featuring improved animations and other features"; homepage = "https://github.com/allusive-dev/picom-allusive"; license = with lib.licenses; [ mit mpl20 ]; |