shadowsocks-rust: Enable optional features
This features will make it possible to setup transparent proxy on Linux
and macOS.
commit90124307e7654066fe652fb7e2940d9bcc446649
authorZhong Jianxin <azuwis@gmail.com>
dateMon 7 Mar 2022, 23:45 (5 years ago)
parent723f479
pkgs/tools/networking/shadowsocks-rust/default.nix+4
@@ -17,6 +17,10 @@ rustPlatform.buildRustPackage rec {
1717
1818 buildInputs = lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
1919
20+ cargoBuildFlags = [
21+ "--features=aead-cipher-extra,local-dns,local-http-native-tls,local-redir,local-tun"
22+ ];
23+
2024 # all of these rely on connecting to www.example.com:80
2125 checkFlags = [
2226 "--skip=http_proxy"