Skip to content

Commit f30b141

Browse files
nesteroffastro
authored andcommitted
Fix build error when using crosvm with pci passthrough
1 parent 9d3d845 commit f30b141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runners/crosvm.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ in {
137137
]
138138
)
139139
+ " " + # Move vfio-pci outside of
140-
(lib.concatMapStringsSep " " ({ bus, path, ... }: {
140+
lib.concatStringsSep " " (lib.concatMap ({ bus, path, ... }: {
141141
pci = [ "--vfio" "/sys/bus/pci/devices/${path},iommu=viommu" ];
142142
usb = throw "USB passthrough is not supported on crosvm";
143143
}.${bus}) devices)

0 commit comments

Comments
 (0)