anchor.diff:              Type = "oneshot";
               ExecStart = "${pkgs.writeScriptBin "test-script" ''
                 #!${bash}/bin/bash
  -              "${cfg.test-driver.script}" > script.stdout 2> script.stderr
  +              "${cfg.test-driver.script}" >> script.stdout 2>> script.stderr
                 echo "$?" > script.exit
                 sync -f .
                 ${pkgs.systemd}/bin/systemctl poweroff --force
  
positive.code:           mac = null;
            network = "net-@testid@";
          };
          consoleFile = "@pwd@/out/hosts/${name}/console.log";
          extraDevices = ''
            <serial type='file'>
              <source path='@pwd@/out/hosts/${name}/journal.log'/>
              <target port='1'/>
            </serial>
          '';
          fileShares.out = {
            guestPath = "/out";
            hostPath = "out/hosts/${name}";
            readOnly = false;
          };
        };
  
negative.code: let
  
    cfg = config.libvirt.test;
  
    ztail = pkgs.haskell.packages.ghc784.callPackage (
      { mkDerivation, array, base, containers, filepath, hinotify
      , old-locale, process, regex-compat, stdenv, time, unix
      }:
      mkDerivation {
        pname = "ztail";
        version = "1.1";
        sha256 = "11x6whwyfgdgda5bhdck0k12inzix8cjfm42hh09p703nalk07nq";
        isLibrary = false;
        isExecutable = true;
        executableHaskellDepends = [
          array base containers filepath hinotify old-locale process
          regex-compat time unix
        ];
        description = "Multi-file, colored, filtered log tailer";
        license = stdenv.lib.licenses.bsd3;
      }
    ) {};
  
    inherit (import ../lib.nix) hexByteToInt mkMAC;
  
  