doxygen: 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 11:12:30 +00:00
parent d528d7c8d7
commit 5445b924f8
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -18,10 +18,9 @@ stdenv.mkDerivation rec {
bison
];
buildInputs =
lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ])
++ lib.optional stdenv.isSunOS libiconv
++ lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
buildInputs = [ libiconv ]
++ lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ])
++ lib.optionals stdenv.isDarwin [ CoreServices ];
cmakeFlags =
[ "-DICONV_INCLUDE_DIR=${libiconv}/include" ] ++