[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Document /homeless-shelter?
From: |
Maxime Devos |
Subject: |
Re: Document /homeless-shelter? |
Date: |
Sun, 16 Jan 2022 19:16:11 +0100 |
User-agent: |
Evolution 3.38.3-1 |
Hi,
Matt schreef op zo 16-01-2022 om 12:38 [-0500]:
> +The @env{HOME} environment variable is set to @file{/homeless-shelter}
> +during the build process. This ensures builds are determistic and
> +highlights all uses of @env{HOME}. Packages should not depend on the
> +pathname of a home directory. Instead, modify the build phase to set
> +@env{HOME} to @file{/tmp}:
> +
> +@lisp
> +(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?
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part