diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:04:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:04:00 -0500 |
commit | 1565aabb5e18e8c6558f1b863ac3f22598e7e7d2 (patch) | |
tree | d133d69da3f81533c4a4fca2842ffd7730669de8 /pkgs/tools | |
parent | 83b6e5b565f1ca3502ef7258a76d325539a45e13 (diff) | |
download | nixpkgs-1565aabb5e18e8c6558f1b863ac3f22598e7e7d2.tar nixpkgs-1565aabb5e18e8c6558f1b863ac3f22598e7e7d2.tar.gz nixpkgs-1565aabb5e18e8c6558f1b863ac3f22598e7e7d2.tar.bz2 nixpkgs-1565aabb5e18e8c6558f1b863ac3f22598e7e7d2.tar.lz nixpkgs-1565aabb5e18e8c6558f1b863ac3f22598e7e7d2.tar.xz nixpkgs-1565aabb5e18e8c6558f1b863ac3f22598e7e7d2.tar.zst nixpkgs-1565aabb5e18e8c6558f1b863ac3f22598e7e7d2.zip |
nebula: fix build on darwin
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/nebula/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/networking/nebula/default.nix b/pkgs/tools/networking/nebula/default.nix index 3411aca5551..f78d7129c34 100644 --- a/pkgs/tools/networking/nebula/default.nix +++ b/pkgs/tools/networking/nebula/default.nix @@ -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, |