samply: use importCargoLock
Cargo 1.84.0 seems to have changed the output format of cargo vendor again, once again invalidating fetchCargoTarball FOD hashes. Most packages can just enable useFetchCargoVendor and regenerate their hashes, but this one hits a fetchCargoVendor edge case, so the only safe mechanism post-1.84.0 is importCargoLock.
This commit is contained in:
Generated
+2497
File diff suppressed because it is too large
Load Diff
@@ -17,7 +17,9 @@ rustPlatform.buildRustPackage rec {
|
||||
hash = "sha256-7bf1lDIZGhRpvnn8rHNwzH2GBY8CwtYCjuRAUTQgbsA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-QGvtKx+l6+UxdlziHnF63geAvW55RRlatK2/J8LR0Ck=";
|
||||
# Can't use fetchCargoVendor:
|
||||
# https://github.com/NixOS/nixpkgs/issues/377986
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
||||
# the dependencies linux-perf-data and linux-perf-event-reader contains both README.md and Readme.md,
|
||||
# which causes a hash mismatch on systems with a case-insensitive filesystem
|
||||
|
||||
Reference in New Issue
Block a user