[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39771: [core-updates] 'guix pull' and './pre-inst-env' produces diff
From: |
Timothy Sample |
Subject: |
bug#39771: [core-updates] 'guix pull' and './pre-inst-env' produces different derivations |
Date: |
Mon, 02 Mar 2020 18:11:56 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Marius,
Marius Bakke <address@hidden> writes:
> Marius Bakke <address@hidden> writes:
>
>>
>> I've tracked this down to 'gash-boot'. Namely the use of ,(version): it
>> evaluates to '2.2.6' when run with ./pre-inst-env and "3.0.0" after
>> 'guix pull'.
>>
>> I suspect both are wrong, and that it really intends to use the version
>> of gash here. Timothy, can you confirm?
Definitely wrong! I think I had somehow convinced myself that the
version of Gash was available when inheriting but delayed via a thunk.
The fact that it happily returns the current Guile version means that I
never noticed how wrong I was. Sorry!
>> Currently trying to 'guix pull' with a hard coded "2.2.6" version to
>> see if other instances need changing.
>
> This patch solves the problem without triggering a full rebuild:
>
> [...]
>
> I have another full-rebuild commit in the pipeline (bzip2 currently
> keeps a reference to the Mes toolchain), so we might as well fix it
> properly.
>
> Waiting for confirmation from Timothy as to what the proper fix is,
> though.
It should be using “package-version” to get the versions from the parent
packages. Fixed in 0b870f7915f5da43758753fd088a22033936dc50.
-- Tim