nixos: fix pkgs used for netcat when qemu-vm.nix does guestfwd
This commit is contained in:
@@ -1362,7 +1362,7 @@ in
|
||||
+ "${guest.address}:${toString guest.port},"
|
||||
else
|
||||
"'guestfwd=${proto}:${guest.address}:${toString guest.port}-"
|
||||
+ "cmd:${pkgs.netcat}/bin/nc ${host.address} ${toString host.port}',"
|
||||
+ "cmd:${hostPkgs.netcat}/bin/nc ${host.address} ${toString host.port}',"
|
||||
);
|
||||
restrictNetworkOption = lib.optionalString cfg.restrictNetwork "restrict=on,";
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user