cargo-dephell: don't use lib.optional with a list

This commit is contained in:
figsoda 2023-05-29 19:42:08 -04:00
parent b643a42a1f
commit 17cb25a433

View File

@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ buildInputs = [
openssl openssl
] ++ lib.optional stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
curl curl
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security
libgit2_1_3_0 libgit2_1_3_0