mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
gnutar: enable strictDeps
This commit is contained in:
@@ -40,20 +40,16 @@ stdenv.mkDerivation rec {
|
||||
"info"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ] ++ lib.optional stdenv.hostPlatform.isCygwin gettext;
|
||||
|
||||
# Add libintl on Darwin specifically as it fails to link (or skip)
|
||||
# NLS on it's own:
|
||||
# "_libintl_textdomain", referenced from:
|
||||
# _main in tar.o
|
||||
# ld: symbol(s) not found for architecture x86_64
|
||||
buildInputs =
|
||||
lib.optional aclSupport acl
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin libintl
|
||||
# gettext gets pulled in via autoreconfHook because strictDeps is not set,
|
||||
# and is linked against. Without this, it doesn't end up in HOST_PATH.
|
||||
# TODO: enable strictDeps, and either make this dependency explicit, or remove it
|
||||
++ lib.optional stdenv.hostPlatform.isCygwin gettext;
|
||||
buildInputs = lib.optional aclSupport acl ++ lib.optional stdenv.hostPlatform.isDarwin libintl;
|
||||
|
||||
# May have some issues with root compilation because the bootstrap tool
|
||||
# cannot be used as a login shell for now.
|
||||
|
||||
Reference in New Issue
Block a user