libbfd: add libintl dependency for darwin.

+2 -2
+2 -2
pkgs/development/libraries/libbfd/default.nix
··· 1 { lib, stdenv 2 , fetchpatch, gnu-config, autoreconfHook, bison, binutils-unwrapped 3 - , libiberty, zlib 4 }: 5 6 stdenv.mkDerivation { ··· 32 33 strictDeps = true; 34 nativeBuildInputs = [ autoreconfHook bison ]; 35 - buildInputs = [ libiberty zlib.dev ]; 36 37 configurePlatforms = [ "build" "host" ]; 38 configureFlags = [
··· 1 { lib, stdenv 2 , fetchpatch, gnu-config, autoreconfHook, bison, binutils-unwrapped 3 + , libiberty, libintl, zlib 4 }: 5 6 stdenv.mkDerivation { ··· 32 33 strictDeps = true; 34 nativeBuildInputs = [ autoreconfHook bison ]; 35 + buildInputs = [ libiberty zlib ] ++ lib.optionals stdenv.isDarwin [ libintl ]; 36 37 configurePlatforms = [ "build" "host" ]; 38 configureFlags = [