tokio-console: move RUSTFLAGS env variables into env for structuredAttrs

Also fix checkFlags for structuredAttrs
This commit is contained in:
Stefan Frijters
2026-01-07 21:40:42 +01:00
parent 482f0f5334
commit ef55e06566
+4 -4
View File
@@ -28,13 +28,13 @@ rustPlatform.buildRustPackage rec {
];
# uses currently unstable tokio features
RUSTFLAGS = "--cfg tokio_unstable";
env.RUSTFLAGS = "--cfg tokio_unstable";
checkFlags = [
# tests depend upon git repository at test execution time
"--skip bootstrap"
"--skip config::tests::args_example_changed"
"--skip config::tests::toml_example_changed"
"--skip=bootstrap"
"--skip=config::tests::args_example_changed"
"--skip=config::tests::toml_example_changed"
];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''