guix-devel
[Top][All Lists]
Advanced

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

Malconnected machines & guix pull


From: Marco van Zwetselaar
Subject: Malconnected machines & guix pull
Date: Thu, 10 Mar 2016 14:31:02 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

All,

Is there a way to do a 'guix pull' from an internet-disconnected machine?

I can tell it to fetch master.tar.gz from file:

$ guix pull --url=file:///tmp/master.tar.gz
unpacking '/gnu/store/d6x5rcb58fqfsyhr08v65bii1pfm7jz1-guix-latest.tar.gz'...
The following derivations will be built:
   /gnu/store/z6lxp83lkk6ba719i4c0x3rv087kgjkk-guix-latest.drv
   /gnu/store/vx592ns1hk7xs038c1h5kjnzlb7cxzyw-module-import.drv
/gnu/store/4p141cjhz9wfkgi3gi5nk11d5f0jpplg-module-import-compiled.drv
The following files will be downloaded:
   /gnu/store/fmxxkrpwajcnb9cyncgh4f4z6ybknl1g-guile-2.0.11
   ...

But then off it goes again looking for substitutes from hydra. Guix pull offers neither --no-substitutes nor --substitute-urls.

In fact, what I am really looking for is a --substitute-urls option for 'guix pull', or a way to separate the pull and the subsequent build, so that I can make it connect to a 'guix publish'-ing server.

Context: internet connectivity at my research institute (in Kilimanjaro, Tanzania) is often such that I need to restart a guix pull four or five times. Multiply that by 6 machines and you see why I'm good friends with guix publish ;-)

Cheers
Marco




reply via email to

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