From 33b0ad83e976ed6bb22b6862ca0637dd2fb765f7 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Sat, 17 Mar 2018 23:21:27 +0900 Subject: [PATCH] qemu-vm: passing QEMU_NET_OPTS would fail because of a change in #36850. spotted by @jtojnar https://github.com/NixOS/nixpkgs/commit/b7a2333ebe7a0916c9791f3b7a839e8095c39f7f#commitcomment-28134992 --- nixos/modules/virtualisation/qemu-vm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 674f230c8104..ee327ed805b2 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -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 = ''