mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 04:04:06 +01:00
cloud-hypervisor: backport Rust 1.90+ crash fixes (#464618)
This commit is contained in:
commit
8317cc5413
1 changed files with 14 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
dtc,
|
||||
|
|
@ -19,6 +20,19 @@ rustPlatform.buildRustPackage rec {
|
|||
hash = "sha256-bPPs/4XMcvOH4BGfQrjQdvgjGWae4UEZjzPKjalDN3w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "vsock-seccomp-Rust-1.90.patch";
|
||||
url = "https://github.com/cloud-hypervisor/cloud-hypervisor/commit/ec57aade1563075e37b8e9ccc0b85fe2c04a54b8.patch";
|
||||
hash = "sha256-M+I+ZbiNDV1a8Y46+/mPTyDlQgQS7G6ytvPgli0NhJ0=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "vfio-user-seccomp-Rust-1.90.patch";
|
||||
url = "https://github.com/cloud-hypervisor/cloud-hypervisor/commit/95b8c6afdd6eec9810243f92ec1956dccfe305da.patch";
|
||||
hash = "sha256-kCP/Fu0Dg+GdnwyFQLqZWKlbqO9w4KRJcbV4sReSDYM=";
|
||||
})
|
||||
];
|
||||
|
||||
cargoHash = "sha256-5EK9V9yiF/UjmlYSKBIJgQOA1YU33ezicLikWYnKFAo=";
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue