Find out how long a build took

Is it possible to find out how long a build took? nix log $(which bash) has the build log but no timing information.

Nom (https://github.com/maralorn/nix-output-monitor) could help you. It tracks how long a rebuild, shell or build command took.