On Sun, Jan 16, 2022 at 07:16:11PM +0100, Maxime Devos wrote: > > +(modify-phases %standard-phases > > + (add-before 'check 'fix-home-directory > > + (lambda _ > > + (setenv "HOME" "/tmp")))) > > +@end lisp > > Sometimes ‘hand-written, automake/cmake/... is bloat!’-style Makefiles > install things to $HOME in the 'install' target, maybe you could give > something like that as an example for when setting HOME to /tmp won't > work? As I suggested in my reply (concurrent to yours), this use of /tmp is not something we need to document authoritatively. Rather, packagers have to make a judgement about how to handle package build scripts that try using $HOME.