nixVersions: give unit tests access to a $HOME directory
Also, don't try to access cache.nixos.org in the libstore unit tests.
We have to disable the test in versions prior to 2.31; that's OK, since
it was being skipped when run under Nix anyway before that.
(cherry picked from commit 01388b3e78582553cc30ee772db5b5aba8d89edd)
Co-authored-by: Philip Taron <philip.taron@gmail.com>
authored by
philiptaron.tngl.sh
and committed by
philiptaron.tngl.sh
d593eadf
325375d3