sgfutils: fix build on darwin

This commit is contained in:
Weijia Wang
2024-05-29 07:15:36 +02:00
parent 3892ca21ff
commit 757cfcf7d3

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