libnatspec: fix darwin build after sdk rework (#351847)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-01 17:47:47 +01:00 committed by GitHub
commit 043ebd74f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
buildInputs = [ popt ];
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_LDFLAGS = "-liconv";
};
propagatedBuildInputs = [ libiconv ];
meta = with lib; {