diff options
author | Artturin <Artturin@artturin.com> | 2022-05-07 18:43:14 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-05-07 18:59:32 +0300 |
commit | 7d0399279a6949ad4bddd95a4023ab02dc2286be (patch) | |
tree | 373d090bf5537aee5ed1c6cb14ae15c9e24c596e /pkgs/development/libraries/gettext/default.nix | |
parent | bbe979559627c1e6b43459809554c660b955ad2b (diff) |
gettext: enable strictDeps
Diffstat (limited to 'pkgs/development/libraries/gettext/default.nix')
-rw-r--r-- | pkgs/development/libraries/gettext/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gettext/default.nix b/pkgs/development/libraries/gettext/default.nix index 22acc73c49c63..a1270af259cda 100644 --- a/pkgs/development/libraries/gettext/default.nix +++ b/pkgs/development/libraries/gettext/default.nix @@ -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 # 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 ''; + strictDeps = true; nativeBuildInputs = [ xz xz.bin ]; + buildInputs = [ bash ] # HACK, see #10874 (and 14664) - buildInputs = lib.optional (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) libiconv; + ++ lib.optionals (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) [ libiconv ]; setupHooks = [ ../../../build-support/setup-hooks/role.bash |