shadowsocks-rust: Enable optional features

This features will make it possible to setup transparent proxy on Linux
and macOS.
This commit is contained in:
Zhong Jianxin
2022-03-10 14:49:01 +08:00
parent 723f479584
commit 90124307e7
@@ -17,6 +17,10 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
cargoBuildFlags = [
"--features=aead-cipher-extra,local-dns,local-http-native-tls,local-redir,local-tun"
];
# all of these rely on connecting to www.example.com:80
checkFlags = [
"--skip=http_proxy"