R""(
Get the build log of GNU Hello:
Get the build log of a specific store path:
Get a build log from a specific binary cache:
This command prints the log of a previous build of the installable on standard output.
Nix looks for build logs in two places:
/nix/var/log/nix/drvs
, which contains logs for locally built derivations.substituters
setting. Logs should be named <cache>/log/<base-name-of-store-path>
, where store-path
is a derivation, e.g. https://cache.nixos.org/log/dvmig8jgrdapvbyxb1rprckdmdqx08kv-hello-2.10.drv
. For non-derivation store paths, Nix will first try to determine the deriver by fetching the .narinfo
file for this store path.)""