l...@gnu.org (Ludovic Courtès) skribis: > As discussed on IRC, the expected default values are specified in > <http://www.gnu.org/prep/standards/html_node/Directory-Variables.html>. > I think it’s reasonable to keep following these rules. > > However, for the purpose of avoiding bad surprises (configuring Guix > with the wrong localstatedir), I thought we could have a ‘configure’ > check that would compare the chosen localstatedir with the current > installation’s localstatedir, and bail out if they don’t match.
Commit ef5f5c8659b1ca3999e362dfa33478e0a0150ced implements a ‘configure’ check such that one gets an error for obvious misconfiguration, and a warning when the user passed an explicit --localstatedir flag that does not match (“I know what I’m doing”.) I believe that should avoid the most common issue. Comments welcome! Ludo’.