From 3621b63e2007de7770ed92a0afc17ad6cb90b487 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 17 Jul 2024 06:36:29 -0400 Subject: [PATCH] Revert "system: Generate man page caches on phone" This actually increases the build time from about 1 minute and 45 seconds to 19 minutes and 15 seconds, which is a bit too long for my tastes. --- modules/system.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/system.nix b/modules/system.nix index c49f0666..47c0fa37 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -146,6 +146,8 @@ in }; }; + documentation.man.generateCaches = mkIf (phone) false; + home-manager = { useGlobalPkgs = true; useUserPackages = true; @@ -155,7 +157,7 @@ in inherit (cfg) stateVersion; }; - programs.man.generateCaches = true; + programs.man.generateCaches = mkIf (!phone) true; }; users.${username}.home = {