From c7ac123dc5ed4b4d971a413bd342cc784bc4bac0 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 14 Apr 2021 10:18:22 -0400 Subject: [PATCH] Setup.pm: specify NIX_ env vars for running yath Otherwise yath will try to use global configuration. --- t/lib/Setup.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/lib/Setup.pm b/t/lib/Setup.pm index f87458dd..14655348 100644 --- a/t/lib/Setup.pm +++ b/t/lib/Setup.pm @@ -56,6 +56,8 @@ sub test_init { close $fh; $ENV{'NIX_LOG_DIR'} = "$dir/nix/var/log/nix"; + $ENV{'NIX_REMOTE_SYSTEMS'} = ''; + $ENV{'NIX_REMOTE'} = ''; $ENV{'NIX_STATE_DIR'} = "$dir/nix/var/nix"; $ENV{'NIX_STORE_DIR'} = "$dir/nix/store";