mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
sgfutils: fix build on darwin
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user