libnatspec: fix build on darwin

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

add libiconv universally to avoid such mixups.

(cherry picked from commit 8e113240bb)
This commit is contained in:
Robert Scott
2022-05-28 14:28:05 +01:00
committed by github-actions[bot]
parent fbba8a2fe7
commit 27fbb13768

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 ];
}