diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-05-12T09·35+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-05-12T09·35+0000 |
commit | 8c0b42f857b53993d95c5bc077e8f8a71028c5ac (patch) | |
tree | 8911f759371585a66cfd6b5ad604fff0a97779ba /src/nix-env/main.cc | |
parent | c8d3882cdc8f9e22c58af285c1996265c1af75d5 (diff) |
* An quick and dirty hack to support distributed builds.
Diffstat (limited to 'src/nix-env/main.cc')
-rw-r--r-- | src/nix-env/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index ed00fc206d97..8cbc3b7038ba 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; } |