From e0cbd6c7c7cae7287713fed1545da0ac73dc3ddb Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Sun, 26 May 2024 00:14:29 -0700 Subject: [PATCH 1/2] gettext: remove spurious xz diffoscope indicates that the builds with and without xz are identical. --- pkgs/development/libraries/gettext/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/gettext/default.nix b/pkgs/development/libraries/gettext/default.nix index 8f0b277a73c4c..29c20d37ecf8b 100644 --- a/pkgs/development/libraries/gettext/default.nix +++ b/pkgs/development/libraries/gettext/default.nix @@ -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 ] From 9f481b394bc47c1b4ea449399b1bf29b8d550f84 Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Sun, 26 May 2024 11:19:31 -0700 Subject: [PATCH 2/2] texinfo: remove spurious xz buildInput diffoscope indicates that the builds are the same with and without it. --- pkgs/development/tools/misc/texinfo/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/texinfo/common.nix b/pkgs/development/tools/misc/texinfo/common.nix index 858884461ce26..d1f8cc5825435 100644 --- a/pkgs/development/tools/misc/texinfo/common.nix +++ b/pkgs/development/tools/misc/texinfo/common.nix @@ -1,6 +1,6 @@ { version, sha256, patches ? [] }: -{ lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash +{ lib, stdenv, buildPackages, fetchurl, perl, libintl, bash , gnulib, gawk, freebsd, libiconv # we are a dependency of gcc, this simplifies bootstraping @@ -49,7 +49,7 @@ stdenv.mkDerivation { # A native compiler is needed to build tools needed at build time depsBuildBuild = [ buildPackages.stdenv.cc perl ]; - buildInputs = [ xz.bin bash libintl ] + buildInputs = [ bash libintl ] ++ optionals stdenv.isSunOS [ libiconv gawk ] ++ optional interactive ncurses;