summary refs log tree commit diff
path: root/nixos/modules/programs/fish.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2020-06-29 22:28:32 +0200
committerrnhmjoj <rnhmjoj@inventati.org>2020-06-29 22:28:32 +0200
commit5b5932923433d416822f60718eb0015db2c911a4 (patch)
tree27bdf4e34d9dfc78a70690c86e7c9d49d3cbb1cc /nixos/modules/programs/fish.nix
parent70ca51ce13afc469cb0fc876f517c4b2d943e105 (diff)
downloadnixpkgs-5b5932923433d416822f60718eb0015db2c911a4.tar
nixpkgs-5b5932923433d416822f60718eb0015db2c911a4.tar.gz
nixpkgs-5b5932923433d416822f60718eb0015db2c911a4.tar.bz2
nixpkgs-5b5932923433d416822f60718eb0015db2c911a4.tar.lz
nixpkgs-5b5932923433d416822f60718eb0015db2c911a4.tar.xz
nixpkgs-5b5932923433d416822f60718eb0015db2c911a4.tar.zst
nixpkgs-5b5932923433d416822f60718eb0015db2c911a4.zip
nixos/fish: enable man cache generation
Diffstat (limited to 'nixos/modules/programs/fish.nix')
-rw-r--r--nixos/modules/programs/fish.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/programs/fish.nix b/nixos/modules/programs/fish.nix
index 48b324a0fe8..39b92edf2ac 100644
--- a/nixos/modules/programs/fish.nix
+++ b/nixos/modules/programs/fish.nix
@@ -102,6 +102,9 @@ in
 
     programs.fish.shellAliases = mapAttrs (name: mkDefault) cfge.shellAliases;
 
+    # Required for man completions
+    documentation.man.generateCaches = true;
+
     environment.etc."fish/foreign-env/shellInit".text = cfge.shellInit;
     environment.etc."fish/foreign-env/loginShellInit".text = cfge.loginShellInit;
     environment.etc."fish/foreign-env/interactiveShellInit".text = cfge.interactiveShellInit;