Skip to content


Browse files Browse the repository at this point in the history
nix-store -l: Fetch build logs from the Internet
If a build log is not available locally, then ‘nix-store -l’ will now
try to download it from the servers listed in the ‘log-servers’ option
in nix.conf. For instance, if you have:

  log-servers =

then it will try to get logs from<base
name of the store path>. So you can do things like:

  $ nix-store -l $(which xterm)

and get a log even if xterm wasn't built locally.
  • Loading branch information
edolstra committed May 21, 2014
1 parent eac5841 commit 9f9080e
Show file tree
Hide file tree
Showing 9 changed files with 144 additions and 93 deletions.
1 change: 1 addition & 0 deletions
Expand Up @@ -10,6 +10,7 @@ PACKAGE_VERSION = @PACKAGE_VERSION@
bash = @bash@
bindir = @bindir@
bsddiff_compat_include = @bsddiff_compat_include@
curl = @curl@
datadir = @datadir@
datarootdir = @datarootdir@
dblatex = @dblatex@
Expand Down
14 changes: 14 additions & 0 deletions doc/manual/conf-file.xml
Expand Up @@ -465,6 +465,20 @@ flag, e.g. <literal>--option gc-keep-outputs false</literal>.</para>

<varlistentry xml:id="conf-log-servers"><term><literal>log-servers</literal></term>


<para>A list of URL prefixes (such as
<literal></literal>) from which
<command>nix-store -l</command> will try to fetch build logs if
they’re not available locally.</para>




Expand Down

0 comments on commit 9f9080e

Please sign in to comment.