cargo-vendor: fix build on Darwin

This is supposedly fixing the build of the cargo crate on Drawin [1].

[1] https://github.com/NixOS/nixpkgs/pull/57017#pullrequestreview-228868016
This commit is contained in:
Andreas Rammhold 2019-04-21 12:07:27 +02:00
parent 2e2f7cba90
commit 1bb989ca70

View File

@ -16,7 +16,8 @@ in
};
cargo-vendor = attrs: {
buildInputs = [ openssl zlib curl ];
buildInputs = [ openssl zlib curl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
};
libz-sys = attrs: {