diff --git a/pkgs/tools/networking/dnsproxy/default.nix b/pkgs/tools/networking/dnsproxy/default.nix index 129d3074d2b4..b412c7bf46c8 100644 --- a/pkgs/tools/networking/dnsproxy/default.nix +++ b/pkgs/tools/networking/dnsproxy/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, buildGoModule }: +{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "dnsproxy"; @@ -13,12 +13,14 @@ buildGoModule rec { vendorSha256 = null; + ldflags = [ "-s" "-w" "-X" "main.VersionString=${version}" ]; + doCheck = false; meta = with lib; { description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support"; homepage = "https://github.com/AdguardTeam/dnsproxy"; - license = licenses.gpl3; + license = licenses.asl20; maintainers = with maintainers; [ contrun ]; }; }