git: make nls support optional
Add option "nlsSupport" (true by default, maching upstream defaults) to make nls support configurable. This change does not trigger rebuild.
This commit is contained in:
parent
9774276bb1
commit
a5985162e3
@ -6,6 +6,7 @@
|
||||
, libxslt, tcl, tk, makeWrapper, libiconv
|
||||
, svnSupport, subversionClient, perlLibs, smtpPerlLibs
|
||||
, perlSupport ? true
|
||||
, nlsSupport ? true
|
||||
, guiSupport
|
||||
, withManual ? true
|
||||
, pythonSupport ? true
|
||||
@ -98,6 +99,7 @@ stdenv.mkDerivation {
|
||||
++ (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"]
|
||||
++ stdenv.lib.optional withpcre2 "USE_LIBPCRE2=1"
|
||||
++ stdenv.lib.optional (!nlsSupport) "NO_GETTEXT=1"
|
||||
# git-gui refuses to start with the version of tk distributed with
|
||||
# macOS Catalina. We can prevent git from building the .app bundle
|
||||
# by specifying an invalid tk framework. The postInstall step will
|
||||
|
Loading…
Reference in New Issue
Block a user