mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Optimizations+Documentation] Optimize mandoc and man-db to reduce build times
This commit is contained in:
parent
7ed2d3c70f
commit
cdc732d67b
1 changed files with 16 additions and 0 deletions
|
|
@ -119,7 +119,23 @@ in {
|
|||
lto = false;
|
||||
recursive = 1;
|
||||
} super.myFFmpeg;
|
||||
|
||||
man-db_optimized = optimizePkg {
|
||||
level = "moderately-unsafe";
|
||||
lto = true;
|
||||
recursive = 1;
|
||||
} super.man-db;
|
||||
|
||||
mandoc_optimized = optimizePkg {
|
||||
level = "moderately-unsafe";
|
||||
lto = true;
|
||||
recursive = 1;
|
||||
} super.mandoc;
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
documentation.man.man-db.package = pkgs.man-db_optimized;
|
||||
documentation.man.mandoc.package = pkgs.mandoc_optimized;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue