Skip to content

Commit

Permalink
sile: fetchCargoTarball -> fetchCargoVendor
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.

The dontConfigure line can be removed in staging, as it's the default
there.
  • Loading branch information
alyssais committed Jan 30, 2025
1 parent 4abf4c9 commit a9ca326
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/by-name/si/sile/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-+9pZUDszPYJmFgHbZH0aKtZ6qLcJjh73jG2CFoRKxWc=";
};

cargoDeps = rustPlatform.fetchCargoTarball {
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
dontConfigure = true;
nativeBuildInputs = [ zstd ];
hash = "sha256-qw5XvXFhYLQJalk3fQwKakgBwfWMjhJzHKbqjchE2V0=";
hash = "sha256-FdUrivumG5R69CwZedpkBzds5PcZr4zSsA6QW/+rDBM=";
};

nativeBuildInputs = [
Expand Down

0 comments on commit a9ca326

Please sign in to comment.