Skip to content

Commit 6477e18

Browse files
committed
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.
1 parent 38eed28 commit 6477e18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/development/python-modules/nh3/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ buildPythonPackage {
2323
format = "pyproject";
2424
disabled = pythonOlder "3.8";
2525

26-
cargoDeps = rustPlatform.fetchCargoTarball {
26+
cargoDeps = rustPlatform.fetchCargoVendor {
2727
inherit src;
2828
name = "${pname}-${version}";
29-
hash = "sha256-NmSOmM3OHiBx1xwlV2QyliQxDMNFApOlEehxfwyEU0I=";
29+
hash = "sha256-cYdwN/PpG1ae6lBRk5usXSwBjH37BpQEp5JLLQ2NRNU=";
3030
};
3131

3232
nativeBuildInputs = with rustPlatform; [

0 commit comments

Comments
 (0)