Merge pull request #68960 from B4dM4n/boringtun-darwin

boringtun: fix darwin build
This commit is contained in:
Matthew Bauer 2019-09-17 17:57:14 -04:00 committed by GitHub
commit fc6c332677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
{ stdenv, fetchFromGitHub, rustPlatform, darwin }:
rustPlatform.buildRustPackage rec {
pname = "boringtun";
@ -21,6 +21,8 @@ rustPlatform.buildRustPackage rec {
# we append a new line to the end of file.
preConfigure = "echo '' >> .cargo/config";
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
# Testing this project requires sudo, Docker and network access, etc.
doCheck = false;