From 8c0b42f857b53993d95c5bc077e8f8a71028c5ac Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 12 May 2004 09:35:51 +0000 Subject: * An quick and dirty hack to support distributed builds. --- src/nix-env/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nix-env') diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index ed00fc206..8cbc3b703 100644 --- a/src/nix-env/main.cc +++ b/src/nix-env/main.cc @@ -118,7 +118,7 @@ void loadDerivations(EvalState & state, Path nePath, DrvInfos & drvs) static Path getHomeDir() { - Path homeDir(getenv("HOME")); + Path homeDir(getEnv("HOME", "")); if (homeDir == "") throw Error("HOME environment variable not set"); return homeDir; } -- cgit v1.2.3