From 9830436567b27b0469c5bef9b3634c1b23c9b21d Mon Sep 17 00:00:00 2001 From: Keith Amidon Date: Sat, 23 Mar 2019 12:51:10 -0700 Subject: [PATCH] password-store: link ext. man pages into the password-store $out When pass was installed with extensions in the system environment, the man pages for the selected extensions were not available globally because they were only available in a buildInput of the password-store derivation. This commit resolves the problem by linking the man pages from the extensions environment into the output directory of the password-store derivation. Bug 56850 --- pkgs/tools/security/pass/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/security/pass/default.nix b/pkgs/tools/security/pass/default.nix index 007ffdf3e3fa..8ddbd60a38d1 100644 --- a/pkgs/tools/security/pass/default.nix +++ b/pkgs/tools/security/pass/default.nix @@ -73,6 +73,9 @@ let # Link extensions env rmdir $out/lib/password-store/extensions ln -s ${extensionsEnv}/lib/password-store/extensions $out/lib/password-store/. + for f in ${extensionsEnv}/share/man/man1/*.1.gz; do + ln -s $f $out/share/man/man1/ + done # Fix program name in --help substituteInPlace $out/bin/pass \