anchor.diff:      ${refind}
     '';
   
  -  efiImg = pkgs.runCommand "efi-image_eltorito" { buildInputs = [ pkgs.mtools pkgs.libfaketime ]; }
  +  efiImg = pkgs.runCommand "efi-image_eltorito" { nativeBuildInputs = [ pkgs.buildPackages.mtools pkgs.buildPackages.libfaketime pkgs.buildPackages.dosfstools ]; }
       # Be careful about determinism: du --apparent-size,
       #   dates (cp -p, touch, mcopy -m, faketime for label), IDs (mkfs.vfat -i)
       ''
  
positive.code:       echo "Usage size: $usage_size"
        echo "Image size: $image_size"
        truncate --size=$image_size "$out"
        ${pkgs.libfaketime}/bin/faketime "2000-01-01 00:00:00" ${pkgs.dosfstools}/sbin/mkfs.vfat -i 12345678 -n EFIBOOT "$out"
        mcopy -psvm -i "$out" ./EFI ./boot ::
        # Verify the FAT partition.
        ${pkgs.dosfstools}/sbin/fsck.vfat -vn "$out"
      ''; # */
  
    # Name used by UEFI for architectures.
  
negative.code: 
      # Make our own efi program, we can't rely on "grub-install" since it seems to
      # probe for devices, even with --skip-fs-probe.
      ${pkgs.buildPackages.grub2_efi}/bin/grub-mkimage --directory=${grubPkgs.grub2_efi}/lib/grub/${grubPkgs.grub2_efi.grubTarget} -o $out/EFI/boot/boot${targetArch}.efi -p /EFI/boot -O ${grubPkgs.grub2_efi.grubTarget} \
        $MODULES
      cp ${grubPkgs.grub2_efi}/share/grub/unicode.pf2 $out/EFI/boot/
  
  