summary refs log tree commit diff
path: root/pkgs/tools/networking/yggdrasil/default.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-03-27 07:33:21 +0000
committerJörg Thalheim <joerg@thalheim.io>2020-03-27 07:33:21 +0000
commit066db11215a2287a88a80ec71595cd8764563444 (patch)
tree9b463617906764f1e824df6f56f7721d475f3a71 /pkgs/tools/networking/yggdrasil/default.nix
parent0bba7474b3e6c8cef36960614446447d38ec04c9 (diff)
downloadnixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar
nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.gz
nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.bz2
nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.lz
nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.xz
nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.zst
nixpkgs-066db11215a2287a88a80ec71595cd8764563444.zip
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504c9e09f067cc6dee6b5aeec43a1405c, reversing
changes made to afd997aab6e9b7a322198092c7828d6c560ac06f.

Instead we propagate those frameworks from the compiler again
Diffstat (limited to 'pkgs/tools/networking/yggdrasil/default.nix')
-rw-r--r--pkgs/tools/networking/yggdrasil/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/tools/networking/yggdrasil/default.nix b/pkgs/tools/networking/yggdrasil/default.nix
index 605801b6ab7..3bf3b97c235 100644
--- a/pkgs/tools/networking/yggdrasil/default.nix
+++ b/pkgs/tools/networking/yggdrasil/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildGoModule, fetchFromGitHub, Foundation }:
+{ lib, buildGoModule, fetchFromGitHub }:
 
 buildGoModule rec {
   pname = "yggdrasil";
@@ -13,8 +13,6 @@ 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.
@@ -29,7 +27,7 @@ buildGoModule rec {
       -s -w
   '';
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description =
       "An experiment in scalable routing as an encrypted IPv6 overlay network";
     homepage = "https://yggdrasil-network.github.io/";