boringtun: fix darwin build

This commit is contained in:
Fabian Möller 2019-09-17 14:24:04 +02:00
parent 83686eb1fb
commit f8860eb670
No known key found for this signature in database
GPG key ID: 70B29D65DD8A7E31

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;