Merge pull request #171963 from Artturin/gettextstrict

gettext: enable strictDeps
main
Artturi 2 years ago committed by GitHub
commit e49df385f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      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

Loading…
Cancel
Save