Unverified Commit dc9fb3e5 authored by Anton Mosich's avatar Anton Mosich
Browse files

hvm: fix build

Apparently rust changed their output when panicking when going from
1.85.1 -> 1.86.0, which broke an hvm test.
parent dcd14f07
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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=";