Optional. The path to a program to execute after each build.

This option is only settable in the global nix.conf, or on the command line by trusted users.

When using the nix-daemon, the daemon executes the hook as root. If the nix-daemon is not involved, the hook runs as the user executing the nix-build.

The program executes with no arguments. The program's environment contains the following environment variables: