gettext: enable strictDeps
This commit is contained in:
parent
bbe9795596
commit
7d0399279a
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, fetchurl, fetchpatch, libiconv, xz }:
|
{ stdenv, lib, fetchurl, fetchpatch, libiconv, xz, bash }:
|
||||||
|
|
||||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||||
|
@ -47,12 +47,14 @@ stdenv.mkDerivation rec {
|
||||||
sed -i -e "s/\(libgettextsrc_la_LDFLAGS = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
|
sed -i -e "s/\(libgettextsrc_la_LDFLAGS = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
xz
|
xz
|
||||||
xz.bin
|
xz.bin
|
||||||
];
|
];
|
||||||
|
buildInputs = [ bash ]
|
||||||
# HACK, see #10874 (and 14664)
|
# HACK, see #10874 (and 14664)
|
||||||
buildInputs = lib.optional (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) libiconv;
|
++ lib.optionals (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) [ libiconv ];
|
||||||
|
|
||||||
setupHooks = [
|
setupHooks = [
|
||||||
../../../build-support/setup-hooks/role.bash
|
../../../build-support/setup-hooks/role.bash
|
||||||
|
|
Loading…
Reference in a new issue