3
0
Fork 0
forked from mirrors/nixpkgs

qemu-vm: passing QEMU_NET_OPTS would fail

because of a change in #36850.
spotted by @jtojnar b7a2333ebe (commitcomment-28134992)
This commit is contained in:
Matthieu Coudron 2018-03-17 23:21:27 +09:00
parent b80dd958d0
commit 33b0ad83e9

View file

@ -320,7 +320,7 @@ in
mkOption {
default = [
"-net nic,netdev=user.0,model=virtio"
"-netdev user,id=user.0,\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
"-netdev user,id=user.0\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
];
type = types.listOf types.str;
description = ''