Unverified Commit 496319a3 authored by éclairevoyant's avatar éclairevoyant
Browse files

picom-allusive: install manpage

parent 2dc99487
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{ picom, lib, fetchFromGitHub }:
{ picom, lib, fetchFromGitHub, installShellFiles }:

picom.overrideAttrs (oldAttrs: rec {
  pname = "picom-allusive";
@@ -11,8 +11,11 @@ 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 = {