Unverified Commit 2d09609e authored by Robert Hensing's avatar Robert Hensing Committed by GitHub
Browse files

fix pkgs used for netcat when qemu-vm.nix does guestfwd (#512272)

parents 33e12452 d2e79731
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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