forked from mirrors/nixpkgs
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
This commit is contained in:
parent
4446452347
commit
9830436567
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue