Unverified Commit 6477e18b authored by Alyssa Ross's avatar Alyssa Ross
Browse files

python3Packages.nh3: fetchCargoTarball -> fetchCargoVendor

Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
parent 38eed288
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,10 +23,10 @@ buildPythonPackage {
  format = "pyproject";
  disabled = pythonOlder "3.8";

  cargoDeps = rustPlatform.fetchCargoTarball {
  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit src;
    name = "${pname}-${version}";
    hash = "sha256-NmSOmM3OHiBx1xwlV2QyliQxDMNFApOlEehxfwyEU0I=";
    hash = "sha256-cYdwN/PpG1ae6lBRk5usXSwBjH37BpQEp5JLLQ2NRNU=";
  };

  nativeBuildInputs = with rustPlatform; [