guix-devel
[Top][All Lists]
Advanced

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

Re: Unreproducible “guix pack -f docker” because config.scm-builder


From: Ludovic Courtès
Subject: Re: Unreproducible “guix pack -f docker” because config.scm-builder
Date: Tue, 02 Feb 2021 19:12:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

> After inspecting the derivations, the issue is from the file
> ’config.scm-builder’ which differs by:
>
>     (define-public %sysconfdir "/usr/local/etc")
>
> vs
>
>     (define-public %sysconfdir "/etc")
>
>
> What did I do wrong?  From where does this difference come?  How can I
> fix it?

As discussed on IRC, ‘guix pull’ preserves the settings of the host
Guix.  So if your initial ‘guix’ has %sysconfdir set to /usr/local/etc,
‘guix pull’ will preserve that.

It turns out that, as is always the case with GNU Standards compliant
configure script, the default value for --prefix is /usr/local, and the
default for --sysconfdir is $prefix/etc.

Mostly likely, what happened is that at some point you built Guix from
source using the default prefix and sysconfdir, and then you ran ‘guix
pull’ from that Guix.

You did find other differences eventually though, right?

HTH,
Ludo’.



reply via email to

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