Skip to content

Commit 3810fc7

Browse files
committed
flake/chv: bump cloud-hypervisor-src + adapt to new crate structure
Since PR #7525 (Dec 2025)[0], Cloud Hypervisor uses a virtual Cargo manifest and the main package was moved to the `./cloud-hypervisor` subdirectory. This change is effective since v50, which we just upgraded to [1]. [0] cloud-hypervisor/cloud-hypervisor#7525 [1] cyberus-technology/cloud-hypervisor#60 Signed-off-by: Philipp Schuster <[email protected]> On-behalf-of: SAP [email protected]
1 parent 9c3f59a commit 3810fc7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

chv.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ let
1515
craneLib' = craneLib.overrideToolchain rustToolchain;
1616

1717
commonArgs = {
18+
# Since Nov 2025 (v50), Cloud Hypervisor has a virtual manifest and the
19+
# main package was moved into a sub directory.
20+
cargoToml = "${src}/cloud-hypervisor/Cargo.toml";
21+
1822
meta = cloud-hypervisor-meta;
1923
src = craneLib'.cleanCargoSource cloud-hypervisor-src;
2024

0 commit comments

Comments
 (0)