When running make test_native in the nix shell, the regression tests fail on my vm due to nix assigning the environment variable TMPDIR to a smallish (3GB) nix user filesystem, which runs out of space. The solution seems to be to assign TMPDIR back to /tmp: NixOS/nix#1009 (comment) in default.nix