testing: fix Nix in Nix when remote building

This commit is contained in:
Michael Hoang
2025-06-06 17:03:03 +10:00
parent d37c7c4c05
commit b81d0e9ba6

View File

@@ -3,6 +3,7 @@
legacyPackages.setupNixInNix = ''
export HOME=$TMPDIR
export NIX_STATE_DIR=$TMPDIR/nix
export NIX_CONF_DIR=$TMPDIR/etc
export IN_NIX_SANDBOX=1
export CLAN_TEST_STORE=$TMPDIR/store
# required to prevent concurrent 'nix flake lock' operations