ansible: install man pages (#44980)

This commit is contained in:
Oleg Pykhalov 2018-08-13 16:30:41 +03:00 committed by xeji
parent a5efa6650f
commit a5b455aeb6

View File

@ -7,6 +7,8 @@ let
pname = "ansible";
inherit version;
outputs = [ "out" "man" ];
src = fetchurl {
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
inherit sha256;
@ -16,6 +18,12 @@ let
sed -i "s,/usr/,$out," lib/ansible/constants.py
'';
postInstall = ''
for m in docs/man/man1/*; do
install -vD $m -t $man/share/man/man1
done
'';
doCheck = false;
dontStrip = true;
dontPatchELF = true;