mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
sourcery-codebench: fix installation of manpages
Sourcery CodeBench manpages are installed under share/doc/<target-triplet>/man/. Add symlinks so that the manpages become available to "man". NOTE: I use symlinks instead of moving the manpages, because I think it is best to do as little as possible to prebuilt packages.
This commit is contained in:
parent
f54c4c99e3
commit
8a1409432e
@ -37,6 +37,11 @@ let
|
||||
*gdb) patchelf --set-rpath "${ncurses}/lib" "$file";;
|
||||
esac
|
||||
done
|
||||
|
||||
# Manpages
|
||||
mkdir -p "$out/share/man"
|
||||
ln -s "$out"/share/doc/*/man/man1 "$out/share/man/man1"
|
||||
ln -s "$out"/share/doc/*/man/man7 "$out/share/man/man7"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user