Hi Ludo,
On Sun, 17 Nov 2019 at 22:15, Ludovic Courtès <ludo@gnu.org> wrote:
Toggle quote (4 lines)
> The only thing that’s missing here is that currently “guix build> /gnu/store/….drv” fails if the .drv doesn’t already exist, which is why> the trick above resorts to a lower-level mechanism.
I miss how to fetch this missing .drv. :-)
For example this evaluation built a recent enough Guix, right?
Toggle snippet (3 lines)
$ wget -q -O - 'http://ci.guix.gnu.org/build/1943556' | jq '."derivation"'
outputs the derivation file. But how do you fetch it?
I have not found in the Cuirass API doc. Maybe I missing the obvious.
Then, once I have downloaded this derivation, the old Guix should beable to build it, right? No daemon issue?
Toggle snippet (3 lines)
$ guix build "/gnu/store/bz1qqy225p1jlicwf07iiqr79icqddcv-guix-4de11dda7.drv"
This will populate the store with a new guix. Then I need to pull asroot, in order to also update the daemon, right?
Toggle snippet (6 lines)
# /gnu/store/<hash-returned-by-previous-build>-guix-4de11dda7/bin/guix pulll
Toggle quote (3 lines)
> Perhaps ‘guix pull’ should have a ‘--rescue’ option to do the trick> above?
Is it possible?We need to track on Cuirass one recent enough derivation of Guix foreach architecture, right?
All the best,simon