yggdrasil: fix build on darwin
This commit is contained in:
parent
2d271bdd4c
commit
28a71c8f59
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Foundation }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "yggdrasil";
|
||||
|
@ -13,6 +13,8 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "057yl3i29kwpd129aa2rb67s5rmz898fi2a7lxv3nfjp7018s9qw";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Foundation ];
|
||||
|
||||
# Change the default location of the management socket on Linux
|
||||
# systems so that the yggdrasil system service unit does not have to
|
||||
# be granted write permission to /run.
|
||||
|
@ -27,7 +29,7 @@ buildGoModule rec {
|
|||
-s -w
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description =
|
||||
"An experiment in scalable routing as an encrypted IPv6 overlay network";
|
||||
homepage = "https://yggdrasil-network.github.io/";
|
||||
|
|
|
@ -7757,7 +7757,9 @@ in
|
|||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||
};
|
||||
|
||||
yggdrasil = callPackage ../tools/networking/yggdrasil { };
|
||||
yggdrasil = callPackage ../tools/networking/yggdrasil {
|
||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||
};
|
||||
|
||||
# To expose more packages for Yi, override the extraPackages arg.
|
||||
yi = callPackage ../applications/editors/yi/wrapper.nix { };
|
||||
|
|
Loading…
Reference in a new issue