arc_unpacker: 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-20 21:16:46 +00:00
parent d528d7c8d7
commit 0478ec60f2
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -13,8 +13,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake makeWrapper catch2 ];
buildInputs = [ boost libpng libjpeg zlib openssl libwebp ]
++ lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = [ boost libiconv libjpeg libpng libwebp openssl zlib ];
postPatch = ''
cp ${catch2}/include/catch2/catch.hpp tests/test_support/catch.h