anchor.diff:    # Use a minimal kernel?
   , minimal ? false
     # Ignored
  -, config ? {}
  +, config ? { }
     # !!! See comment about args in lib/modules.nix
  -, specialArgs ? {}
  +, specialArgs ? { }
     # Modules to add to each VM
  -, extraConfigurations ? [] }:
  +, extraConfigurations ? [ ]
  +}:
   
   with pkgs;
   
  
positive.code:       };
  
        vm = build-vms.buildVM { }
          [ machine
            { key = "run-in-machine";
              networking.hostName = "client";
              nix.readOnlyStore = false;
              virtualisation.writableStore = false;
  
negative.code: 
            testDriverName = with builtins;
              if testNameLen > maxTestNameLen then
                abort
                  ("The name of the test '${name}' must not be longer than ${toString maxTestNameLen} " +
                    "it's currently ${toString testNameLen} characters long.")
              else
                "nixos-test-driver-${name}";
  
            warn = if skipLint then lib.warn "Linting is disabled!" else lib.id;
          in
          warn (runCommand testDriverName
            {
              buildInputs = [ makeWrapper ];
              testScript = testScript';
              preferLocalBuild = true;
              testName = name;
              passthru = {
                inherit nodes;
              };
            }
            ''
              mkdir -p $out/bin
  
              echo -n "$testScript" > $out/test-script
              ${lib.optionalString (!skipLint) ''
                ${python3Packages.black}/bin/black --check --diff $out/test-script
              ''}
  
              ln -s ${testDriver}/bin/nixos-test-driver $out/bin/
              vms=($(for i in ${toString vms}; do echo $i/bin/run-*-vm; done))
              wrapProgram $out/bin/nixos-test-driver \
                --add-flags "''${vms[*]}" \
                ${lib.optionalString enableOCR
                  "--prefix PATH : '${ocrProg}/bin:${imagemagick_tiff}/bin'"} \
                --run "export testScript=\"\$(${coreutils}/bin/cat $out/test-script)\"" \
                --set VLANS '${toString vlans}'
              ln -s ${testDriver}/bin/nixos-test-driver $out/bin/nixos-run-vms
              wrapProgram $out/bin/nixos-run-vms \
                --add-flags "''${vms[*]}" \
                ${lib.optionalString enableOCR "--prefix PATH : '${ocrProg}/bin'"} \
                --set tests 'start_all(); join_all();' \
                --set VLANS '${toString vlans}' \
                ${lib.optionalString (builtins.length vms == 1) "--set USE_SERIAL 1"}
            ''); # "
  
        passMeta = drv: drv // lib.optionalAttrs (t ? meta) {
          meta = (drv.meta or { }) // t.meta;
        };
  
        driver = mkDriver null;
  