Can't call a program `log`

I’d really like to make a VM to reproduce this, but it won’t let me.

Here’s a VM setup to reproduce:

# vm.nix
{ pkgs, config, ... }: {
  users.users.me = {
    isNormalUser = true;
    initialPassword = "asdf";
  };
  services.getty.autologinUser = "me";
  environment.systemPackages = with pkgs;
    let
      myProgram = writeShellApplication {
        name = "log";
        text = "echo Hi!";
      };
    in [ myProgram ];
  system.stateVersion = "nixos-24.05";
}
nix-build '<nixpkgs/nixos>' -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/24.05.tar.gz -I nixos-config=vm.nix -A vm && rm -rf *.qcow && result/bin/run-nixos-vm

It opens QEMU, throws a ridiculous amount of errors about ‘Usespace OOM killer failed’ or something, then fails at autologin (just blinking cursor). Even without autologin, the configured user can’t login.

Any idea how to get it working?

EDIT: rm -rf *.qcow2