From 757cfcf7d366a5ccf4352db5321e25780c7fe581 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 29 May 2024 07:15:36 +0200 Subject: [PATCH] sgfutils: fix build on darwin --- pkgs/by-name/sg/sgfutils/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sg/sgfutils/package.nix b/pkgs/by-name/sg/sgfutils/package.nix index 7548ab42107e..f82bc4e59a6a 100644 --- a/pkgs/by-name/sg/sgfutils/package.nix +++ b/pkgs/by-name/sg/sgfutils/package.nix @@ -2,7 +2,7 @@ , stdenv , fetchFromGitHub , openssl -, iconv +, libiconv , makeWrapper , imagemagick , makeFontsConf @@ -18,7 +18,7 @@ stdenv.mkDerivation hash = "sha256-KWYgTxz32WK3MKouj1WAJtZmleKt5giCpzQPwfWruZQ="; }; nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ iconv ]; + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; buildPhase = '' runHook preBuild make all