mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
dnsproxy: fix build on darwin
This commit is contained in:
parent
5b6342e8af
commit
59bc2841b4
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, buildGoModule }:
|
||||
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "dnsproxy";
|
||||
|
@ -13,6 +13,8 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "0r5ybr4gpcdsldk12b0d4xiih6ckwnqkfwy89c97prv24v14zysv";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support";
|
||||
homepage = "https://github.com/AdguardTeam/dnsproxy";
|
||||
|
|
|
@ -2872,7 +2872,9 @@ in
|
|||
|
||||
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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue