Skip to content

Commit 1273f38

Browse files
committed
cicero OCI image: force enable kvm system feature
1 parent 76d550d commit 1273f38

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nix/cloud/oci-images.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ in {
3232
nixConf = runCommandNoCC "nix.conf" {} ''
3333
mkdir -p $out/etc/nix
3434
cat > $out/etc/nix/nix.conf <<'EOF'
35+
# If /dev/kvm does not actually exist in the container
36+
# we would rather build without KVM than fail.
37+
extra-system-features = kvm
38+
3539
experimental-features = nix-command flakes
3640
EOF
3741
'';

0 commit comments

Comments
 (0)