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.

Commit moved to staging branch from PR #212669 (commit 8d2255d654).
This commit is contained in:
Alyssa Ross 2023-01-23 00:31:24 +00:00 committed by Vladimír Čunát
parent 03e9b9c92c
commit 3d9ac1fa80
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

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";