t/Setup.pm: sort NIX_ env vars

This commit is contained in:
Graham Christensen 2021-04-14 10:17:21 -04:00 committed by Graham Christensen
parent 8aa59dcc1b
commit 74d34c0f80

View file

@ -55,9 +55,9 @@ sub test_init {
print $fh $opts{'hydra_config'} || ""; print $fh $opts{'hydra_config'} || "";
close $fh; close $fh;
$ENV{'NIX_LOG_DIR'} = "$dir/nix/var/log/nix";
$ENV{'NIX_STATE_DIR'} = "$dir/nix/var/nix"; $ENV{'NIX_STATE_DIR'} = "$dir/nix/var/nix";
$ENV{'NIX_STORE_DIR'} = "$dir/nix/store"; $ENV{'NIX_STORE_DIR'} = "$dir/nix/store";
$ENV{'NIX_LOG_DIR'} = "$dir/nix/var/log/nix";
my $pgsql = Test::PostgreSQL->new( my $pgsql = Test::PostgreSQL->new(
extra_initdb_args => "--locale C.UTF-8" extra_initdb_args => "--locale C.UTF-8"