mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 09:19:36 +01:00
Give unit tests access to a $HOME directory
Also, don't try to access cache.nixos.org in the libstore unit tests.
This commit is contained in:
parent
dc5e620032
commit
af5815fd54
5 changed files with 17 additions and 37 deletions
|
|
@ -100,6 +100,7 @@ test(
|
|||
this_exe,
|
||||
env : {
|
||||
'_NIX_TEST_UNIT_DATA': meson.current_source_dir() / 'data',
|
||||
'HOME': meson.current_build_dir() / 'test-home',
|
||||
},
|
||||
protocol : 'gtest',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue