mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
ansible: install man pages (#44980)
This commit is contained in:
parent
a5efa6650f
commit
a5b455aeb6
@ -7,6 +7,8 @@ let
|
|||||||
pname = "ansible";
|
pname = "ansible";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
@ -16,6 +18,12 @@ let
|
|||||||
sed -i "s,/usr/,$out," lib/ansible/constants.py
|
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;
|
doCheck = false;
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user