trojan-go: fix functionalities (#395140)

authored by Aleksana and committed by GitHub ee299ea6 13088230

+14
+14
pkgs/by-name/tr/trojan-go/package.nix
··· 19 19 20 20 vendorHash = "sha256-c6H/8/dmCWasFKVR15U/kty4AzQAqmiL/VLKrPtH+s4="; 21 21 22 + ldflags = [ 23 + "-X github.com/p4gefau1t/trojan-go/constant.Version=v${version}" 24 + "-X github.com/p4gefau1t/trojan-go/constant.Commit=v${version}" 25 + ]; 26 + 27 + tags = [ 28 + "api" 29 + "client" 30 + "server" 31 + "forward" 32 + "nat" 33 + "other" 34 + ]; 35 + 22 36 # tests fail due to requiring networking 23 37 doCheck = false; 24 38