trojan-rs: move RUSTFLAGS env variables into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-07 21:40:42 +01:00
parent ef55e06566
commit ef4a25368e
+4 -2
View File
@@ -21,8 +21,10 @@ rustPlatform.buildRustPackage {
nativeBuildInputs = [ rustPlatform.bindgenHook ];
buildInputs = [ ipset ];
env.RUSTC_BOOTSTRAP = true;
env.RUSTFLAGS = "--cfg tokio_unstable";
env = {
RUSTC_BOOTSTRAP = true;
RUSTFLAGS = "--cfg tokio_unstable";
};
meta = {
homepage = "https://github.com/lazytiger/trojan-rs";