Commit 6c0ab2ed authored by Jacek Galowicz's avatar Jacek Galowicz
Browse files

nixos-test-driver: only depend on vsock things on linux

parent b932dc51
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{
  lib,
  stdenv,

  buildPythonApplication,
  colorama,
@@ -59,7 +60,6 @@ buildPythonApplication {
    socat
    util-linux
    vde2
    vhost-device-vsock
  ]
  ++ lib.optionals enableNspawn [
    systemd
@@ -67,6 +67,9 @@ buildPythonApplication {
  ++ lib.optionals enableOCR [
    imagemagick_light
    tesseract4
  ]
  ++ lib.optionals stdenv.isLinux [
    vhost-device-vsock
  ];

  # containers test requires extra nix features that are not available in ofborg.