anchor.diff:    # a test script fragment `createPartitions', which must create
     # partitions and filesystems, and a configuration.nix fragment
     # `fileSystems'.
  -  testScriptFun = { createPartitions, fileSystems, testChannel }:
  +  testScriptFun = { createPartitions, fileSystems, testChannel, grubVersion }:
       ''
         createDisk("harddisk", 4 * 1024);
   
  
positive.code:       print STDERR "Result of the hardware scan:\n$cfg\n";
  
        $machine->copyFileFromHost(
            "${ config { inherit fileSystems testChannel; } }",
            "/mnt/etc/nixos/configuration.nix");
  
        # Perform the installation.
  
negative.code: 
  
    # The configuration to install.
    config = { fileSystems, testChannel, grubVersion }: pkgs.writeText "configuration.nix"
      ''
        { config, pkgs, modulesPath, ... }:
  
  