@@ -6,6 +6,7 @@
66, libxslt, tcl, tk, makeWrapper, libiconv
77, svnSupport, subversionClient, perlLibs, smtpPerlLibs
88, perlSupport ? true
9+, nlsSupport ? true
910, guiSupport
1011, withManual ? true
1112, pythonSupport ? true
@@ -98,6 +99,7 @@ stdenv.mkDerivation {
9899 ++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc"])
99100 ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl ["NO_SYS_POLL_H=1" "NO_GETTEXT=YesPlease"]
100101 ++ stdenv.lib.optional withpcre2 "USE_LIBPCRE2=1"
102+ ++ stdenv.lib.optional (!nlsSupport) "NO_GETTEXT=1"
101103 # git-gui refuses to start with the version of tk distributed with
102104 # macOS Catalina. We can prevent git from building the .app bundle
103105 # by specifying an invalid tk framework. The postInstall step will