tests: clear NIX_STORE env in fetchers, expr, and flake test environments

This commit is contained in:
Amaan Qureshi
2026-02-27 14:50:00 -05:00
committed by John Ericson
parent 62d275d7c0
commit b26f2ca3e6
3 changed files with 5 additions and 0 deletions

View File

@@ -84,6 +84,8 @@ test(
this_exe,
env : {
'_NIX_TEST_UNIT_DATA' : meson.current_source_dir() / 'data',
'HOME' : meson.current_build_dir() / 'test-home',
'NIX_STORE' : '',
},
protocol : 'gtest',
)

View File

@@ -66,6 +66,8 @@ test(
this_exe,
env : {
'_NIX_TEST_UNIT_DATA' : meson.current_source_dir() / 'data',
'HOME' : meson.current_build_dir() / 'test-home',
'NIX_STORE' : '',
},
protocol : 'gtest',
)

View File

@@ -62,6 +62,7 @@ test(
'_NIX_TEST_UNIT_DATA' : meson.current_source_dir() / 'data',
'NIX_CONFIG' : 'extra-experimental-features = flakes',
'HOME' : meson.current_build_dir() / 'test-home',
'NIX_STORE' : '',
},
protocol : 'gtest',
)