From 401ab50566fc40e563e154b6db7dfb2f17293879 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 13 Aug 2014 01:19:02 +0200 Subject: [PATCH] Remove pointless NIX_LOG_TYPE environment variable --- doc/manual/env-common.xml | 9 --------- src/libmain/shared.cc | 4 ---- 2 files changed, 13 deletions(-) diff --git a/doc/manual/env-common.xml b/doc/manual/env-common.xml index 9e97e58f5..91a3e9e32 100644 --- a/doc/manual/env-common.xml +++ b/doc/manual/env-common.xml @@ -127,15 +127,6 @@ $ mount -o bind /mnt/otherdisk/nix /nix -NIX_LOG_TYPE - - Equivalent to the - option. - - - - TMPDIR Use the specified directory to store temporary diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index 47c38e33e..467a15e76 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++);