gettext: remove spurious xz

diffoscope indicates that the builds with and without xz are identical.
This commit is contained in:
Audrey Dutcher
2024-05-26 11:30:57 -07:00
parent 640005c53c
commit e0cbd6c7c7
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, libiconv, xz, bash
{ stdenv, lib, fetchurl, libiconv, bash
}:
# Note: this package is used for bootstrapping fetchurl, and thus
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
LDFLAGS = lib.optionalString stdenv.isSunOS "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec";
configureFlags = [
"--disable-csharp" "--with-xz"
"--disable-csharp"
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
# On cross building, gettext supposes that the wchar.h from libc
# does not fulfill gettext needs, so it tries to work with its
@@ -50,10 +50,6 @@ stdenv.mkDerivation rec {
'';
strictDeps = true;
nativeBuildInputs = [
xz
xz.bin
];
buildInputs = lib.optionals (!stdenv.hostPlatform.isMinGW) [
bash
]