coredns: fix build on darwin
This commit is contained in:
parent
b47c4218bb
commit
36ae531bc2
|
@ -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";
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue