libnatspec: fix build on darwin

broken in 3c12e95ad1 when parentheses
were removed, changing the semantics.

add libiconv universally to avoid such mixups.
This commit is contained in:
Robert Scott 2022-05-28 14:28:05 +01:00
parent 7c49511474
commit 8e113240bb

View file

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
buildInputs = [ popt ];
propagatedBuildInputs = [ libiconv ];
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "http://natspec.sourceforge.net/";
@ -20,6 +22,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
license = licenses.lgpl21;
};
} // lib.optionalAttrs (!stdenv.isLinux) {
propagatedBuildInputs = [ libiconv ];
}