mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
git: Set PERL_PATH when building manual
Otherwise the build fails with the perplexing error make: *** No rule to make target 'cmd-list.made', needed by 'doc.dep'. Stop. make: Leaving directory '/tmp/nix-build-git-2.16.3.drv-0/git-2.16.3/Documentation' on NixOS (but not on Debian, where it succeeds, presumably since it picks up the system perl).
This commit is contained in:
parent
7139c65c88
commit
b26ae506a9
@ -1,4 +1,5 @@
|
||||
{ fetchurl, stdenv, curl, openssl, zlib, expat, perl, python, gettext, cpio
|
||||
{ fetchurl, stdenv, buildPackages
|
||||
, curl, openssl, zlib, expat, perl, python, gettext, cpio
|
||||
, gnugrep, gnused, gawk, coreutils # needed at runtime by git-filter-branch etc
|
||||
, openssh, pcre2
|
||||
, asciidoc, texinfo, xmlto, docbook2x, docbook_xsl, docbook_xml_dtd_45
|
||||
@ -199,7 +200,7 @@ stdenv.mkDerivation {
|
||||
'')
|
||||
|
||||
+ stdenv.lib.optionalString withManual ''# Install man pages and Info manual
|
||||
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES 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-info \
|
||||
-C Documentation ''
|
||||
|
||||
+ (if guiSupport then ''
|
||||
|
Loading…
Reference in New Issue
Block a user