Unverified Commit feb6f4d6 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

rumdl: optimize checkPhase, 0.1.14 -> 0.1.15 (#488341)

parents cb2a661a 517fd273
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -11,16 +11,16 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "rumdl";
  version = "0.1.14";
  version = "0.1.15";

  src = fetchFromGitHub {
    owner = "rvben";
    repo = "rumdl";
    tag = "v${finalAttrs.version}";
    hash = "sha256-qaxDVycNszmgqvDwZxHEowkoHGz4FC1g6DZhH+xwBBk=";
    hash = "sha256-jIkEKFEdNbSwgYTqNvz6XM8E+cIdtsCCYCxvbCu03sc=";
  };

  cargoHash = "sha256-h80IiE5PMuRP/eBrm3wlNSPHAKQASioQt3Fyoh253PI=";
  cargoHash = "sha256-eP6IaebCj3OYunlPTJZmB4wUy5Mzh7VQNCmWz/n4MR8=";

  cargoBuildFlags = [
    "--bin=rumdl"
@@ -37,6 +37,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
  useNextest = true;

  cargoTestFlags = [
    "--bins"

    # Building all tests takes too long, and filtering by profile does not solve it.
    # It also causes flaky results on Darwin in Hydra.
    "--test"
    "cli_*"

    # Prefer the "smoke" profile over "ci" to exclude flaky tests: https://github.com/rvben/rumdl/pull/341
    "--profile"
    "smoke"