Skip to content

Commit 7cfc856

Browse files
committed
xxx
1 parent 6694857 commit 7cfc856

File tree

5 files changed

+220
-548
lines changed

5 files changed

+220
-548
lines changed

flake.lock

Lines changed: 204 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@
55
dried-nix-flakes.url = "github:cyberus-technology/dried-nix-flakes";
66
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11";
77

8-
# Our patched libvirt.
9-
libvirt-dev = {
8+
# Our patched libvirt for Cloud Hypervisor.
9+
libvirt-chv = {
1010
# A local path can be used for developing or testing local changes. Make
1111
# sure the submodules in a local libvirt checkout are populated.
12-
# url = "git+file:/home/pschuster/dev/libvirt?submodules=1";
13-
url = "git+https://github.com/phip1611/libvirt?ref=nix-2&submodules=1";
14-
# url = "git+ssh://git@gitlab.cyberus-technology.de/cyberus/cloud/libvirt?ref=managedsave-fix&submodules=1";
15-
flake = false;
12+
url = "git+file:/home/pschuster/dev/libvirt?submodules=1";
13+
#url = "git+https://github.com/phip1611/libvirt?ref=nix-2&submodules=1";
14+
# url = "git+ssh://git@gitlab.cyberus-technology.de/pschuster/libvirt?ref=nix-2&submodules=1";
1615
};
1716
cloud-hypervisor-src = {
1817
url = "git+file:/home/pschuster/dev/cloud-hypervisor";
@@ -54,7 +53,7 @@
5453
crane,
5554
edk2-src,
5655
fcntl-tool,
57-
libvirt-src,
56+
libvirt-chv,
5857
nixpkgs,
5958
rust-overlay,
6059
...
@@ -69,7 +68,6 @@
6968
rustToolchain = rust-bin.stable.latest.default;
7069
cloud-hypervisor-meta = prev.cloud-hypervisor.meta;
7170
};
72-
# libvirt =
7371
})
7472
];
7573

@@ -95,6 +93,7 @@
9593
'';
9694
in
9795
{
96+
inherit inputs;
9897
checks =
9998
let
10099
fs = pkgs.lib.fileset;
@@ -175,14 +174,14 @@
175174
chv-ovmf = pkgs.runCommand "OVMF-CLOUHDHV.fd" { } ''
176175
cp ${chv-ovmf.fd}/FV/CLOUDHV.fd $out
177176
'';
178-
};
177+
} // libvirt-chv.packages;
179178
tests = import ./tests/default.nix {
180179
inherit
181180
pkgs
182-
libvirt-src
183181
nixos-image
184182
chv-ovmf
185183
;
184+
libvirt-chv = self.packages.libvirt-debugoptimized;
186185
};
187186
}
188187
);

0 commit comments

Comments
 (0)