Merge pull request #86848 from primeos/git-add-doc-output
git: Add a doc output for the HTML and text files
This commit is contained in:
commit
fd05023849
@ -424,6 +424,11 @@ systemd.services.nginx.serviceConfig.ReadWritePaths = [ "/var/www" ];
|
||||
This matches the autotools convention for env vars which standard for these things, making interfacing with other tools easier.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Additional Git documentation (HTML and text files) is now available via the <literal>git-doc</literal> package.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
</section>
|
||||
|
@ -82,6 +82,14 @@ let
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
};
|
||||
|
||||
git-doc = lib.addMetaAttrs {
|
||||
description = "Additional documentation for Git";
|
||||
longDescription = ''
|
||||
This package contains additional documentation (HTML and text files) that
|
||||
is referenced in the man pages of Git.
|
||||
'';
|
||||
} gitFull.doc;
|
||||
|
||||
git-extras = callPackage ./git-extras { };
|
||||
|
||||
git-fame = callPackage ./git-fame {};
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0j685w6pzkn926z5nf5r8fij4ziipvw4c9yb0wc577nzf4j16rbd";
|
||||
};
|
||||
|
||||
outputs = [ "out" ];
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
@ -234,7 +234,7 @@ stdenv.mkDerivation {
|
||||
'')
|
||||
|
||||
+ stdenv.lib.optionalString withManual ''# Install man pages and Info manual
|
||||
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES PERL_PATH="${buildPackages.perl}/bin/perl" cmd-list.made install install-info \
|
||||
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES PERL_PATH="${buildPackages.perl}/bin/perl" cmd-list.made install install-html install-info \
|
||||
-C Documentation ''
|
||||
|
||||
+ (if guiSupport then ''
|
||||
|
@ -19733,7 +19733,7 @@ in
|
||||
|
||||
gitAndTools = recurseIntoAttrs (callPackage ../applications/version-management/git-and-tools {});
|
||||
|
||||
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar git-secret git-secrets transcrypt git-crypt ghq;
|
||||
inherit (gitAndTools) git gitFull gitSVN git-cola git-doc svn2git git-radar git-secret git-secrets transcrypt git-crypt ghq;
|
||||
|
||||
gitMinimal = git.override {
|
||||
withManual = false;
|
||||
|
Loading…
Reference in New Issue
Block a user