hvm: fix build

Apparently rust changed their output when panicking when going from
1.85.1 -> 1.86.0, which broke an hvm test.
This commit is contained in:
Anton Mosich 2025-05-01 21:22:56 +02:00
parent dcd14f078d
commit dc9fb3e58c
No known key found for this signature in database
GPG key ID: 28F77AAFFAF5BAF6

View file

@ -13,6 +13,11 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-AD8mv47m4E6H8BVkxTExyhrR7VEnuB/KxnRl2puPnX4=";
};
# Insert empty line in expected output of rust panic in a test
postPatch = ''
sed -i '6G' tests/snapshots/run__file@empty.hvm.snap
'';
useFetchCargoVendor = true;
cargoHash = "sha256-nLcT+o6xrxPmQqK7FQpCqTlxOOUA1FzqRGQIypcq4fo=";