nebula: fix build on darwin
This commit is contained in:
parent
83b6e5b565
commit
1565aabb5e
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nebula";
|
||||
@ -13,11 +13,13 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "1sy5mnwn9fxjf3y41lm8gsggid2c0y08iw88m9ng8psaf4qid8ij";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
subPackages = [ "cmd/nebula" "cmd/nebula-cert" ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags='-X main.Build=${version}'" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A scalable overlay networking tool with a focus on performance, simplicity and security";
|
||||
longDescription = ''
|
||||
Nebula is a scalable overlay networking tool with a focus on performance,
|
||||
|
@ -5348,7 +5348,9 @@ in
|
||||
|
||||
ndppd = callPackage ../applications/networking/ndppd { };
|
||||
|
||||
nebula = callPackage ../tools/networking/nebula { };
|
||||
nebula = callPackage ../tools/networking/nebula {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
nemiver = callPackage ../development/tools/nemiver { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user