darwin.cctools: install ar man pages

In the distribution they are located in a separate directory from the
others and the standard installation doesn't process them.
This commit is contained in:
Dmitry Kalinkin 2020-04-20 23:52:24 -04:00
parent 125c469d3e
commit c00ad799a0
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -1,4 +1,5 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, autoreconfHook
, installShellFiles
, libcxxabi, libuuid
, libobjc ? null, maloader ? null
, enableTapiSupport ? true, libtapi
@ -30,7 +31,7 @@ let
outputs = [ "out" "dev" "man" ];
nativeBuildInputs = [ autoconf automake libtool autoreconfHook ];
nativeBuildInputs = [ autoconf automake libtool autoreconfHook installShellFiles ];
buildInputs = [ libuuid ]
++ stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ]
++ stdenv.lib.optional enableTapiSupport libtapi;
@ -88,6 +89,8 @@ let
pushd include
make DSTROOT=$out/include RC_OS=common install
popd
installManPage ar/ar.{1,5}
'';
passthru = {