Skip to content

Commit 21725e5

Browse files
committed
nix/chv: 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. Since we updated our Cloud Hypervisor to v50 [1], we need to adjust that here. [0] cloud-hypervisor/cloud-hypervisor#7525 [1] cyberus-technology/cloud-hypervisor#60 Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
1 parent 553c564 commit 21725e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

chv.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ let
1616

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

2124
# Pragmatic release profile with debug-ability and faster

0 commit comments

Comments
 (0)