`patchelf` failing during `nixos-install`

While running nixos-install, I get the following messages:

Copying libs for executable /nix/store/r6fjq5gxc07cd8vjsl0g9zaq42m5i3ha-extra-utils/bin/systemd-sysctl
Copying libs for executable /nix/store/r6fjq5gxc07cd8vjsl0g9zaq42m5i3ha-extra-utils/bin/ata_id
Copying libs for executable /nix/store/r6fjq5gxc07cd8vjsl0g9zaq42m5i3ha-extra-utils/bin/cdrom_id
Copying libs for executable /nix/store/r6fjq5gxc07cd8vjsl0g9zaq42m5i3ha-extra-utils/bin/dmi_memory_id
Copying libs for executable /nix/store/r6fjq5gxc07cd8vjsl0g9zaq42m5i3ha-extra-utils/bin/fido_id
Copying libs for executable /nix/store/r6fjq5gxc07cd8vjsl0g9zaq42m5i3ha-extra-utils/bin/scsi_id
Copying libs for executable /nix/store/r6fjq5gxc07cd8vjsl0g9zaq42m5i3ha-extra-utils/bin/v4l_id
Copying libs for executable /nix/store/r6fjq5gxc07cd8vjsl0g9zaq42m5i3ha-extra-utils/bin/kmod
Copying libs for executable /nix/store/r6fjq5gxc07cd8vjsl0g9zaq42m5i3ha-extra-utils/bin/modprobe-kernel
patchelf: not an ELF executable

What isn’t an ELF executable here? And why do I get this error message?

anything that is a binary, shared object or similar.

Sometimes patchelf is lazily run on all files in a directory where elf files are located but also some other files and then patchelf only logs a warning. Just ignore it.