From 64efe2b912ca5a8b73734af4b70b5abccea6bb64 Mon Sep 17 00:00:00 2001 From: Reno Dakota <170618376+paparodeo@users.noreply.github.com> Date: Sat, 26 Oct 2024 10:10:20 +0000 Subject: [PATCH] libticonv: link with libiconv the darwin sdk rework removed the libiconv hook which adds -liconv so add explicitly to work around broken autoconf libiconv detection --- pkgs/development/libraries/libticonv/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libticonv/default.nix b/pkgs/development/libraries/libticonv/default.nix index 0c075406dee2..9bc5528257f8 100644 --- a/pkgs/development/libraries/libticonv/default.nix +++ b/pkgs/development/libraries/libticonv/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-iconv" - ]; + ] ++ lib.optional stdenv.hostPlatform.isDarwin "LDFLAGS=-liconv"; meta = with lib; { changelog = "http://lpg.ticalc.org/prj_tilp/news.html";