git: build with python3
git-p4 seems to be python3 ready: https://github.com/git/git/blob/master/git-p4.py#L32
This commit is contained in:
parent
353c83adde
commit
8c145dc0fb
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{ fetchurl, stdenv, buildPackages
|
||||
, curl, openssl, zlib, expat, perlPackages, python, gettext, cpio
|
||||
, curl, openssl, zlib, expat, perlPackages, python3, 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
|
||||
|
@ -91,7 +91,7 @@ stdenv.mkDerivation {
|
|||
"SHELL_PATH=${stdenv.shell}"
|
||||
]
|
||||
++ (if perlSupport then ["PERL_PATH=${perlPackages.perl}/bin/perl"] else ["NO_PERL=1"])
|
||||
++ (if pythonSupport then ["PYTHON_PATH=${python}/bin/python"] else ["NO_PYTHON=1"])
|
||||
++ (if pythonSupport then ["PYTHON_PATH=${python3}/bin/python"] else ["NO_PYTHON=1"])
|
||||
++ stdenv.lib.optionals stdenv.isSunOS ["INSTALL=install" "NO_INET_NTOP=" "NO_INET_PTON="]
|
||||
++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc"])
|
||||
++ stdenv.lib.optionals stdenv.hostPlatform.isMusl ["NO_SYS_POLL_H=1" "NO_GETTEXT=YesPlease"]
|
||||
|
|
Loading…
Reference in a new issue