Just upstreaming some things I ran into while I was originally packaging for nixpkgs.
Since the builds happen in a minimal sandbox it was running into non-existing directories.
The only thing I'm not sure about is the tests that involve fsverity since usually /tmp is a tmpfs and might not support it. But in that case it is probably a better idea to specifically set $TMPDIR for those tests rather than hardcoding /var/tmp
Just upstreaming some things I ran into while I was originally packaging for nixpkgs. Since the builds happen in a minimal sandbox it was running into non-existing directories.
The only thing I'm not sure about is the tests that involve fsverity since usually
/tmp
is atmpfs
and might not support it. But in that case it is probably a better idea to specifically set$TMPDIR
for those tests rather than hardcoding/var/tmp