anchor.diff:  vmTools.runInLinuxImage (stdenv.mkDerivation (
   
     {
  -    name = name + "-" + diskImage.name + (if src ? version then "-" + src.version else "");
  -
       doCheck = true;
   
       prefix = "/usr";
   
  -    prePhases = [ "installExtraDebsPhase" "sysInfoPhase" ];
  -    postPhases = [ "debInstallPhase" ];
  +    prePhases = "installExtraDebsPhase sysInfoPhase";
  +  }
  +
  +  // removeAttrs args ["vmTools"] //
  +
  +  {
  +    name = name + "-" + diskImage.name + (if src ? version then "-" + src.version else "");
   
       # !!! cut&paste from rpm-build.nix
       postHook = ''
  
positive.code:       mkdir -p $out/debs
        find . -name "*.deb" -exec cp {} $out/debs \;
  
        eval "$postInstall"
      '';
  
      debInstallPhase = ''
        eval "$preDebInstall"
  
        [ "$(echo $out/debs/*.deb)" != "" ]
  
        for i in $out/debs/*.deb; do
  
negative.code:         echo "file deb-extra $(ls $i/debs/*.deb | sort | head -1)" >> $out/nix-support/hydra-build-products
        done
  
        eval "$postInstall"
      ''; # */
  
      meta = (if args ? meta then args.meta else {}) // {
        description = "Deb package for ${diskImage.fullName}";
      };
    }
  
  ))
  