Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions pkgs/development/libraries/gettext/default.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -50,10 +50,6 @@ stdenv.mkDerivation rec {
'';

strictDeps = true;
nativeBuildInputs = [
xz
xz.bin
];
buildInputs = lib.optionals (!stdenv.hostPlatform.isMinGW) [
bash
]
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/tools/misc/texinfo/common.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;

Expand Down