From b0085eed3f8ab7fbc20556ee8c95e20486f75135 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sat, 18 Nov 2017 15:53:02 -0500 Subject: [PATCH] add HOME for nix-env calls --- ofborg/src/nix.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ofborg/src/nix.rs b/ofborg/src/nix.rs index a231e0a..dff5818 100644 --- a/ofborg/src/nix.rs +++ b/ofborg/src/nix.rs @@ -53,6 +53,7 @@ impl Nix { .current_dir(nixpkgs) .stdout(Stdio::from(stdout)) .stderr(Stdio::from(stderr)) + .env("HOME", "/homeless-shelter") .env("NIX_PATH", nixpath) .env("NIX_REMOTE", &self.remote) .args(&["--option", "restrict-eval", "true"])