ansible: install man pages (#44980)
This commit is contained in:
parent
a5efa6650f
commit
a5b455aeb6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user