<commit_before>{ stdenv
, buildRustPackage
, cargo_bootstrap
, fetchCargo
}:

let
  version = "0.17.0";
in
buildRustPackage {
  name = "cargo-${version}";

  src = fetchCargo {
    package = "cargo";
    inherit version;
    sha256 = "02cc30ce96b2a4d6903f47bcc8a06e51daa90552bf570d3af94f798e8f2cc84f";
  };

  passthru = {
    bootstrap = cargo_bootstrap;
  };

  meta = with stdenv.lib; {
    maintainers = with maintainers; [
      wkennington
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}
<commit_msg>cargo: Use the real rustc<commit_after>{ stdenv
, buildRustPackage
, cargo_bootstrap
, fetchCargo
, rustc
}:

let
  version = "0.17.0";
in
buildRustPackage {
  name = "cargo-${version}";

  src = fetchCargo {
    package = "cargo";
    inherit version;
    sha256 = "02cc30ce96b2a4d6903f47bcc8a06e51daa90552bf570d3af94f798e8f2cc84f";
  };

  nativeBuildInputs = [
    rustc
  ];

  passthru = {
    bootstrap = cargo_bootstrap;
  };

  meta = with stdenv.lib; {
    maintainers = with maintainers; [
      wkennington
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}

{'fraction_non_alphanumeric': 0.11191335740072202, 'fraction_numerical': 0.08664259927797834, 'mean_word_length': 3.153558052434457, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '952241', 'n_tokens_mistral': 491, 'n_tokens_neox': 442, 'n_words': 75}