From 68aebb45de644b81a71f0c7b8b22ad51c9a0df7a Mon Sep 17 00:00:00 2001 From: Alexander Ben Nasrallah Date: Sun, 1 May 2022 12:55:28 +0200 Subject: [PATCH] fish: follow links to find man pages Some packages link man pages, e.g. if a package is wrapped with `buildEnv`. --- modules/programs/fish.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/fish.nix b/modules/programs/fish.nix index 179425289..e9bc76e81 100644 --- a/modules/programs/fish.nix +++ b/modules/programs/fish.nix @@ -332,7 +332,7 @@ in { mkdir -p $out for src in $srcs; do if [ -d $src/share/man ]; then - find $src/share/man -type f \ + find -L $src/share/man -type f \ | xargs python ${cfg.package}/share/fish/tools/create_manpage_completions.py --directory $out \ > /dev/null fi