forked from mirrors/nixpkgs
dnsproxy: fix build on darwin
This commit is contained in:
parent
5b6342e8af
commit
59bc2841b4
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, buildGoModule }:
|
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "dnsproxy";
|
pname = "dnsproxy";
|
||||||
|
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||||
|
|
||||||
modSha256 = "0r5ybr4gpcdsldk12b0d4xiih6ckwnqkfwy89c97prv24v14zysv";
|
modSha256 = "0r5ybr4gpcdsldk12b0d4xiih6ckwnqkfwy89c97prv24v14zysv";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support";
|
description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support";
|
||||||
homepage = "https://github.com/AdguardTeam/dnsproxy";
|
homepage = "https://github.com/AdguardTeam/dnsproxy";
|
||||||
|
|
|
@ -2872,7 +2872,9 @@ in
|
||||||
|
|
||||||
dnsmasq = callPackage ../tools/networking/dnsmasq { };
|
dnsmasq = callPackage ../tools/networking/dnsmasq { };
|
||||||
|
|
||||||
dnsproxy = callPackage ../tools/networking/dnsproxy { };
|
dnsproxy = callPackage ../tools/networking/dnsproxy {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
dnsperf = callPackage ../tools/networking/dnsperf { };
|
dnsperf = callPackage ../tools/networking/dnsperf { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue