libdatrie: depend on libiconv unconditionally

libiconv is already defined per-platform.  The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.

Required to build for FreeBSD.
This commit is contained in:
Alyssa Ross 2023-01-23 00:31:24 +00:00
parent 79a606608e
commit 8d2255d654
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
installShellFiles
];
buildInputs = lib.optional stdenv.isDarwin libiconv;
buildInputs = [ libiconv ];
preAutoreconf = let
reports = "https://github.com/tlwg/libdatrie/issues";