summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2021-10-06 14:06:12 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2021-10-06 22:40:30 +0200
commit60e731d1ceb7343b1d137afe6b09f3f6409d701b (patch)
treef4f65c1fb88252d7c8420837f4413d37acb675a2 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent1c1b567985bd1be77601657562ed20299d169529 (diff)
nixos/qemu-vm: fix running VM with `QEMU_NET_OPTS`
I realized quite recently that running a test VM - as documented in the manual - like QEMU_NET_OPTS='hostfwd=tcp::8080-:80' ./result/bin/nixos-run-vms doesn't work anymore on `master`. After bisecting I realized that the introduction of a forward-port option[1] is the problem since it adds a trailing comma even if no forwarding options are specified via `virtualisation.forwardPorts`. In that case, the networking options would look like `-netdev user,id=user.0,,hostfwd=tcp::8080-:80' which confused QEMU and thus the VM refused to start. Now, the trailing comma is only added if additional port forwards are specified declaratively. [1] b8bfc81d5b2d88b734a311f712fc0ba2b267f9e0
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions