[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
123/376: Remove pointless NIX_LOG_TYPE environment variable
From: |
Ludovic Courtès |
Subject: |
123/376: Remove pointless NIX_LOG_TYPE environment variable |
Date: |
Wed, 28 Jan 2015 22:04:28 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 401ab50566fc40e563e154b6db7dfb2f17293879
Author: Eelco Dolstra <address@hidden>
Date: Wed Aug 13 01:19:02 2014 +0200
Remove pointless NIX_LOG_TYPE environment variable
---
doc/manual/env-common.xml | 9 ---------
src/libmain/shared.cc | 4 ----
2 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/doc/manual/env-common.xml b/doc/manual/env-common.xml
index 9e97e58..91a3e9e 100644
--- a/doc/manual/env-common.xml
+++ b/doc/manual/env-common.xml
@@ -127,15 +127,6 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen>
</varlistentry>
-<varlistentry><term><envar>NIX_LOG_TYPE</envar></term>
-
- <listitem><para>Equivalent to the <link
- linkend="opt-log-type"><option>--log-type</option>
- option</link>.</para></listitem>
-
-</varlistentry>
-
-
<varlistentry><term><envar>TMPDIR</envar></term>
<listitem><para>Use the specified directory to store temporary
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 47c38e3..467a15e 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -144,10 +144,6 @@ static void initAndRun(int argc, char * * argv)
gettimeofday(&tv, 0);
srandom(tv.tv_usec);
- /* Process the NIX_LOG_TYPE environment variable. */
- string lt = getEnv("NIX_LOG_TYPE");
- if (lt != "") setLogType(lt);
-
/* Put the arguments in a vector. */
Strings args, remaining;
while (argc--) args.push_back(*argv++);
- 111/376: Get rid of "killing <pid>" message for unused build hooks, (continued)
- 111/376: Get rid of "killing <pid>" message for unused build hooks, Ludovic Courtès, 2015/01/28
- 129/376: Remove log2html.xsl and friends, Ludovic Courtès, 2015/01/28
- 122/376: Warn about untrusted binary caches in extra-binary-caches, Ludovic Courtès, 2015/01/28
- 113/376: Update manual, Ludovic Courtès, 2015/01/28
- 126/376: Handle compound single dash options properly, Ludovic Courtès, 2015/01/28
- 124/376: Fix warning about non-existant -I directories, Ludovic Courtès, 2015/01/28
- 127/376: Use regular file GC roots if possible, Ludovic Courtès, 2015/01/28
- 128/376: nix-log2xml: Handle UTF-8 characters, Ludovic Courtès, 2015/01/28
- 132/376: nix-shell: Use $XDG_RUNTIME_DIR, Ludovic Courtès, 2015/01/28
- 120/376: download-from-binary-cache.pl: Respect $SSL_CERT_FILE, Ludovic Courtès, 2015/01/28
- 123/376: Remove pointless NIX_LOG_TYPE environment variable,
Ludovic Courtès <=
- 136/376: Propagate remote timeouts properly, Ludovic Courtès, 2015/01/28
- 131/376: Use $XDG_RUNTIME_DIR for temporary files, Ludovic Courtès, 2015/01/28
- 137/376: Reduce verbosity, Ludovic Courtès, 2015/01/28
- 133/376: Fix download-via-ssh, Ludovic Courtès, 2015/01/28
- 130/376: nix-log2xml: Handle newlines, Ludovic Courtès, 2015/01/28
- 143/376: nix-store -l: Automatically pipe output into $PAGER, Ludovic Courtès, 2015/01/28
- 139/376: Fix --attr parsing, Ludovic Courtès, 2015/01/28
- 142/376: Reduce test verbosity, Ludovic Courtès, 2015/01/28
- 138/376: Doh, Ludovic Courtès, 2015/01/28
- 135/376: nix-build: Propagate exit status from nix-store -r, Ludovic Courtès, 2015/01/28