Merge pull request #68960 from B4dM4n/boringtun-darwin
boringtun: fix darwin build
This commit is contained in:
commit
fc6c332677
@ -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