From 8d72b9e5bd8d99cbd32ce0ebe2f5da8e9b1d88ce Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 7 May 2026 18:04:59 +0900 Subject: internal/pkg: optionally register binfmt This transparently supports curing foreign exec artifacts. Signed-off-by: Ophestra --- cmd/sharefs/test/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cmd/sharefs/test/configuration.nix') diff --git a/cmd/sharefs/test/configuration.nix b/cmd/sharefs/test/configuration.nix index e1f43b72..05d67dcb 100644 --- a/cmd/sharefs/test/configuration.nix +++ b/cmd/sharefs/test/configuration.nix @@ -20,11 +20,14 @@ }; virtualisation = { + # Hopefully reduces spurious test failures: + memorySize = if pkgs.stdenv.hostPlatform.is32bit then 2046 else 8192; + diskSize = 6 * 1024; qemu.options = [ # Increase test performance: - "-smp 8" + "-smp 16" ]; }; -- cgit v1.3.1