mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
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:
parent
dcd14f078d
commit
dc9fb3e58c
1 changed files with 5 additions and 0 deletions
|
@ -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=";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue