about summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorKeith Amidon <camalot@picnicpark.org>2019-03-23 12:51:10 -0700
committerKeith Amidon <camalot@picnicpark.org>2019-03-23 12:51:10 -0700
commit9830436567b27b0469c5bef9b3634c1b23c9b21d (patch)
tree7591653678997ca3c5574be6d11d4283fde8ffcf /pkgs/tools/security
parent44464523477c6f111f9f89794b3b7fcb730ce5c6 (diff)
downloadnixlib-9830436567b27b0469c5bef9b3634c1b23c9b21d.tar
nixlib-9830436567b27b0469c5bef9b3634c1b23c9b21d.tar.gz
nixlib-9830436567b27b0469c5bef9b3634c1b23c9b21d.tar.bz2
nixlib-9830436567b27b0469c5bef9b3634c1b23c9b21d.tar.lz
nixlib-9830436567b27b0469c5bef9b3634c1b23c9b21d.tar.xz
nixlib-9830436567b27b0469c5bef9b3634c1b23c9b21d.tar.zst
nixlib-9830436567b27b0469c5bef9b3634c1b23c9b21d.zip
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
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/pass/default.nix3
1 files changed, 3 insertions, 0 deletions
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 \