guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the defaults for --localstatedir and --sysconfdir?


From: Janneke Nieuwenhuizen
Subject: Re: Changing the defaults for --localstatedir and --sysconfdir?
Date: Thu, 02 May 2024 13:31:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Ludovic Courtès writes:

> Richard Sent <richard@freakingpenguin.com> skribis:
>
>> As everyone who's built Guix from source knows, when running ./configure
>> on a system with an existing Guix installation you must remember to
>> specify --localstatedir=/var and --sysconfdir=/etc. I think we should
>> consider whether those variables should default to those values.
>
> I think it would make sense.
>
> Before I advocated that we should preferably stick to the GNU standards
> and have users make informed choices (that’s how we ended up with the
> ‘GUIX_CHECK_LOCALSTATEDIR’ macro that warns users but lets them
> explicitly pass ‘--localstatedir’.)
>
> That was 8 years ago though (eight!).  At this point I think defaulting
> to /var and /etc would do more good than harm.
>
> What do others think?

It would be certainly convenient for many us but there should probably a
warning or an error? (cc: @Vagrant) when not on Guix System?

Greetings
Janneke

-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]