coredns: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:46:00 -05:00
parent b47c4218bb
commit 36ae531bc2
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "coredns";
@ -15,6 +15,8 @@ buildGoModule rec {
modSha256 = "0wlffk6wkcyn2lphw2vmdsmzag0wxljcxrvm7sv3i124x2x3yvy4";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
homepage = "https://coredns.io";
description = "A DNS server that runs middleware";

View file

@ -16347,7 +16347,9 @@ in
conntrack-tools = callPackage ../os-specific/linux/conntrack-tools { };
coredns = callPackage ../servers/dns/coredns { };
coredns = callPackage ../servers/dns/coredns {
inherit (darwin.apple_sdk.frameworks) Security;
};
corerad = callPackage ../tools/networking/corerad { };