sgfutils: fix build on darwin

(cherry picked from commit 757cfcf7d3)
This commit is contained in:
Weijia Wang 2024-05-29 07:15:36 +02:00 committed by github-actions[bot]
parent fafeae3d24
commit c617da8663

View File

@ -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