Skip to content

Commit

Permalink
clash-verge-rev: useFetchCargoVendor
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alyssais committed Jan 30, 2025
1 parent 0c3f6ec commit 4abf4c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/cl/clash-verge-rev/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let
hash = "sha256-kZf5O3n0xmNUN0G4hAWQDN9Oj9K7PtLpv6jnhh1C5Hg=";
};

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

service = callPackage ./service.nix {
inherit
Expand Down
1 change: 1 addition & 0 deletions pkgs/by-name/cl/clash-verge-rev/service.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ rustPlatform.buildRustPackage {
OPENSSL_NO_VENDOR = 1;
};

useFetchCargoVendor = true;
cargoHash = service-cargo-hash;
}

0 comments on commit 4abf4c9

Please sign in to comment.