diff --git a/lib/Dist/Zilla/Tester.pm b/lib/Dist/Zilla/Tester.pm index 4751d0ffc..884ed6ed1 100644 --- a/lib/Dist/Zilla/Tester.pm +++ b/lib/Dist/Zilla/Tester.pm @@ -134,6 +134,8 @@ sub minter { 'Dist::Zilla::Tester::_Minter' } local @INC = map {; ref($_) ? $_ : File::Spec->rel2abs($_) } @INC; + local $ENV{DZIL_GLOBAL_CONFIG_ROOT} = $tester_arg->{global_config_root}; + my $zilla = $self->$orig($arg); $zilla->_set_tempdir($tempdir);