diff options
-rw-r--r-- | doc/manual/env-common.xml | 9 | ||||
-rw-r--r-- | 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 9e97e58f5784..91a3e9e32694 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 47c38e33e67b..467a15e76023 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++); |