cargo-deadlinks: prepare for structuredAttrs
This commit is contained in:
@@ -20,15 +20,16 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
checkFlags = [
|
||||
# uses internet
|
||||
"--skip non_existent_http_link --skip working_http_check"
|
||||
"--skip=non_existent_http_link"
|
||||
"--skip=working_http_check"
|
||||
# makes assumption about HTML paths that changed in rust 1.82.0
|
||||
"--skip simple_project::it_checks_okay_project_correctly"
|
||||
"--skip cli_args::it_passes_arguments_through_to_cargo"
|
||||
"--skip=simple_project::it_checks_okay_project_correctly"
|
||||
"--skip=cli_args::it_passes_arguments_through_to_cargo"
|
||||
]
|
||||
++
|
||||
lib.optional (stdenv.hostPlatform.system != "x86_64-linux")
|
||||
# assumes the target is x86_64-unknown-linux-gnu
|
||||
"--skip simple_project::it_checks_okay_project_correctly";
|
||||
++ lib.optionals (stdenv.hostPlatform.system != "x86_64-linux") [
|
||||
# assumes the target is x86_64-unknown-linux-gnu
|
||||
"--skip=simple_project::it_checks_okay_project_correctly"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Cargo subcommand to check rust documentation for broken links";
|
||||
|
||||
Reference in New Issue
Block a user