Merge pull request #123406 from stephank/fix-monolith-darwin

monolith: fix darwin build
This commit is contained in:
Robert Scott 2021-05-17 22:28:08 +01:00 committed by GitHub
commit 951fe852bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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" ];