boringtun: fix darwin build
This commit is contained in:
parent
83686eb1fb
commit
f8860eb670
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user