fix: use mandoc to work man-db/groff performance regression

Related to nixpkgs #513348
This commit is contained in:
Gabriel Fontes
2026-05-05 10:34:21 -03:00
parent 5e16cf6ca0
commit 88f46ba952
5 changed files with 19 additions and 3 deletions
Generated
+3 -3
View File
@@ -283,11 +283,11 @@
]
},
"locked": {
"lastModified": 1777518431,
"narHash": "sha256-SwgiG2T5pbyo33Vz7/vUCAhEMgwCK8Pa2nDSx5a6/WE=",
"lastModified": 1777985523,
"narHash": "sha256-EpCQ/5AnnQABMeZpxXKt/Z+tUAI7k8c1DNR8/tWW8Do=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "2e54a938cdd4c8e414b2518edc3d82308027c670",
"rev": "5a15505146ffd149dd88126562209028220c93e3",
"type": "github"
},
"original": {
+1
View File
@@ -17,6 +17,7 @@
./xpo.nix
./fzf.nix
./jira.nix
./mandoc.nix
];
home.packages = with pkgs; [
comma # Install and run programs by sticking a , before them
+7
View File
@@ -0,0 +1,7 @@
{
programs.man = {
# Performance regression. See https://github.com/NixOS/nixpkgs/issues/513348
man-db.enable = false;
mandoc.enable = true;
};
}
+1
View File
@@ -27,6 +27,7 @@
./kdeconnect.nix
./upower.nix
./display-manager.nix
./mandoc.nix
]
++ (builtins.attrValues outputs.nixosModules);
+7
View File
@@ -0,0 +1,7 @@
{
documentation.man = {
# Performance regression. See https://github.com/NixOS/nixpkgs/issues/513348
man-db.enable = false;
mandoc.enable = true;
};
}