Skip to content

Commit

Permalink
password-store: link ext. man pages into the password-store $out (#58187
Browse files Browse the repository at this point in the history
)

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
  • Loading branch information
xeji committed Mar 24, 2019
2 parents c940053 + 9830436 commit 69d0c14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/tools/security/pass/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 69d0c14

Please sign in to comment.