nix: mount tmpfs on /tmp
All checks were successful
Test / ShareFS (push) Successful in 36s
Test / Sandbox (race detector) (push) Successful in 46s
Test / Sandbox (push) Successful in 47s
Test / Hpkg (push) Successful in 47s
Test / Create distribution (push) Successful in 1m1s
Test / Hakurei (push) Successful in 3m4s
Test / Hakurei (race detector) (push) Successful in 3m30s
Test / Flake checks (push) Successful in 1m38s

This hopefully eliminates spurious test failures caused by /tmp running out of space.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-02-16 18:22:29 +09:00
parent 1809b53e52
commit 1df3bcc3b9

View File

@@ -95,6 +95,9 @@
]; ];
}; };
# Disk image is too small for some tests:
boot.tmp.useTmpfs = true;
environment.hakurei = { environment.hakurei = {
enable = true; enable = true;
stateDir = "/var/lib/hakurei"; stateDir = "/var/lib/hakurei";