monolith: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-17 22:19:29 +02:00
parent 7d7efc1528
commit 5a73259a3b

View file

@ -3,6 +3,7 @@
, fetchFromGitHub
, pkg-config
, openssl
, libiconv
, Security
}:
@ -21,7 +22,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin [ Security ];
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
checkFlagsArray = [ "--skip=tests::cli" ];