From b7db6d1f1f369017452405ee1c1cb4bad374d17b Mon Sep 17 00:00:00 2001 From: jasonxue Date: Mon, 8 Sep 2025 23:35:54 +0800 Subject: [PATCH 1/2] mdsf: remove cargoCheck to fix build failure --- pkgs/by-name/md/mdsf/package.nix | 40 ++------------------------------ 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/pkgs/by-name/md/mdsf/package.nix b/pkgs/by-name/md/mdsf/package.nix index 44cc1a1f2a62..be07588b2ae9 100644 --- a/pkgs/by-name/md/mdsf/package.nix +++ b/pkgs/by-name/md/mdsf/package.nix @@ -21,44 +21,8 @@ rustPlatform.buildRustPackage { cargoHash = "sha256-AMo2LPC6RviYu2qx202o0gFIIJdjNJxS/zY06TEcpKw="; - checkFlags = [ - # Failing due to the method under test trying to create a directory & write to the filesystem - "--skip=caching::test_cache_entry::it_should_work" - # Permissions denied due to the test trying to remove a directory - "--skip=commands::prune_cache::test_run::it_should_remove_cache_directory" - # Permissions denied due to the test trying to write to a file - "--skip=config::test_config::it_should_error_on_broken_config" - # The following tests try to create tmp files - "--skip=format::accepts_multiple_file_paths" - "--skip=format::accepts_multiple_file_paths_with_thread_argument" - "--skip=format::accepts_multiple_file_paths_with_thread_argument_zero" - "--skip=format::format_with_cache_arg" - "--skip=format::formats_broken_input" - "--skip=format::formats_broken_input_stdin" - "--skip=format::formats_broken_input_with_debug_arg" - "--skip=format::on_missing_tool_binary_fail_cli" - "--skip=format::on_missing_tool_binary_fail_config" - "--skip=format::on_missing_tool_binary_fail_fast_cli" - "--skip=format::on_missing_tool_binary_fail_fast_config" - "--skip=format::on_missing_tool_binary_ignore_cli" - "--skip=format::on_missing_tool_binary_ignore_config" - "--skip=format::on_missing_tool_binary_prioritize_cli" - "--skip=format::supports_config_path_argument" - # Depends on one of gofumpt, gofmt, or crlfmt being available - "--skip=test_lib::it_should_add_go_package_if_missing" - # The following tests depend on rustfmt being available - "--skip=test_lib::it_should_format_the_code" - "--skip=test_lib::it_should_format_the_codeblocks_that_start_with_whitespace" - "--skip=test_lib::it_should_not_care_if_go_package_is_set" - "--skip=test_lib::it_should_not_modify_outside_blocks" - # The following tests try to interact with the file system - "--skip=verify::accepts_multiple_file_paths_broken" - "--skip=verify::accepts_multiple_file_paths_mixed" - "--skip=verify::fails_with_broken_input" - # The following tests try to interact with stdin - "--skip=verify::success_with_formatted_input_stdin" - "--skip=verify::supports_log_level_argument" - ]; + # many tests fail for various reasons of which most depend on the build sandbox + doCheck = false; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; From 8568f9ab19f682f9a061ea0f5616efa107f2d81f Mon Sep 17 00:00:00 2001 From: jasonxue Date: Tue, 9 Sep 2025 00:55:28 +0800 Subject: [PATCH 2/2] mdsf: 0.10.5 -> 0.10.6 --- pkgs/by-name/md/mdsf/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/md/mdsf/package.nix b/pkgs/by-name/md/mdsf/package.nix index be07588b2ae9..5fef3f28c8cf 100644 --- a/pkgs/by-name/md/mdsf/package.nix +++ b/pkgs/by-name/md/mdsf/package.nix @@ -7,7 +7,7 @@ }: let pname = "mdsf"; - version = "0.10.5"; + version = "0.10.6"; in rustPlatform.buildRustPackage { inherit pname version; @@ -16,10 +16,10 @@ rustPlatform.buildRustPackage { owner = "hougesen"; repo = "mdsf"; tag = "v${version}"; - hash = "sha256-m7VoGozJShEw6qVXScxgX7CCyIh62unVvzjq/W7Ynu8="; + hash = "sha256-fWJSCYWbt1P9Y2mZQ3n36SOnW7s3Cu7nmDS9dOv9hII="; }; - cargoHash = "sha256-AMo2LPC6RviYu2qx202o0gFIIJdjNJxS/zY06TEcpKw="; + cargoHash = "sha256-qwROKSUiTvBix3mxnwtoS9pTlemi9U7oCa/nlERq9sw="; # many tests fail for various reasons of which most depend on the build sandbox doCheck = false;