tokio-console: move RUSTFLAGS env variables into env for structuredAttrs
Also fix checkFlags for structuredAttrs
This commit is contained in:
@@ -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) ''
|
||||
|
||||
Reference in New Issue
Block a user