jujutsu: don’t depend on OpenSSL on macOS

This commit is contained in:
Emily 2024-09-04 20:09:17 +01:00
parent 099dad2daf
commit b221192809

View File

@ -46,12 +46,12 @@ rustPlatform.buildRustPackage {
buildInputs =
[
openssl
zstd
libgit2
libssh2
]
++ lib.optionals stdenv.isDarwin [
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
libiconv