diff --git a/home.nix b/home.nix index 2358a95..c14d90e 100644 --- a/home.nix +++ b/home.nix @@ -185,24 +185,6 @@ in { programs.man = { enable = true; ## `disable` to use system manpage - package = pkgs.man.override { - groff = pkgs.groff.overrideAttrs (prevAttrs: let - site-tmac = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/afh/nixpkgs/groff-man-compat-staging/pkgs/tools/text/groff/site.tmac"; - hash = "sha256-IOiTr1KF1Y4QiLTGdzaJXdpGxSzlj5dXqoTVhHJXBQQ="; - }; - in { - postInstall = '' - for f in 'man.local' 'mdoc.local'; do - cat '${site-tmac}' >> "$out/share/groff/site-tmac/$f" - - ## lock these files to prevent overrides: - chmod a-w "$out/share/groff/site-tmac/$f" - set +e ## do not panic when later overrides fail - done - '' + prevAttrs.postInstall; - }); - }; }; disabledModules = [