Skip to content

Commit 4abf4c9

Browse files
committed
clash-verge-rev: useFetchCargoVendor
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 0c3f6ec commit 4abf4c9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkgs/by-name/cl/clash-verge-rev/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let
3030
hash = "sha256-kZf5O3n0xmNUN0G4hAWQDN9Oj9K7PtLpv6jnhh1C5Hg=";
3131
};
3232

33-
service-cargo-hash = "sha256-uo/2QBsZzoTdwRiW0Kr7GGiQCpQH4lW4h5XHqWd5sTU=";
33+
service-cargo-hash = "sha256-Sof0jnU5+IGWMmbqVqJmhUzDO6CRlFpwwzYx9Z5tZbk=";
3434

3535
service = callPackage ./service.nix {
3636
inherit

pkgs/by-name/cl/clash-verge-rev/service.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ rustPlatform.buildRustPackage {
2727
OPENSSL_NO_VENDOR = 1;
2828
};
2929

30+
useFetchCargoVendor = true;
3031
cargoHash = service-cargo-hash;
3132
}

0 commit comments

Comments
 (0)